Skip to content

Commit e8a39e5

Browse files
committed
Reword javap filtering options
"To filter out" means remove, and, therefore, has the exact opposite meaning of what the example shows. But "filter" is kind of an ambiguous word when it comes to what's removed and what's left, not to mention which you are interested in (if you filter water to drink that's one thing, if you filter water to mine gold, that's another), so I'm avoiding it altogether and going for some unambiguous.
1 parent aff9ec9 commit e8a39e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

2.11/index.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,13 @@ scala> :history
179179

180180
### `:javap` ([#1880](https://github.com/scala/scala/pull/1880))
181181

182-
The command to dissasemble Java output got some bugfixes and new features. It is now possible to filter out members of classes:
182+
The command to dissasemble Java output got some bugfixes and new features. It is now possible to selectively display members of classes:
183183

184-
- `Bar#foo` filters out all `foo` members
185-
- `Bar#` filters out all `apply` members
186-
- `-fun Bar#foo` filters out all anonfuns of `foo` members
187-
- `-fun Bar#` filters out all anonfuns of `apply` members
188-
- `-app Bar` filters out `Bar.delayedInit`
184+
- `Bar#foo` displays all `foo` members
185+
- `Bar#` displays all `apply` members
186+
- `-fun Bar#foo` displays all anonfuns of `foo` members
187+
- `-fun Bar#` displays all anonfuns of `apply` members
188+
- `-app Bar` displays `Bar.delayedInit`
189189

190190
Example usage:
191191

0 commit comments

Comments
 (0)