Skip to content

Commit 868e003

Browse files
committed
Correct usage for -w. It turns ON warnings, not OFF.
1 parent 6693ffa commit 868e003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/irb/lc/help-message

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Usage: irb.rb [options] [programfile] [arguments]
66
-U Set external and internal encodings to UTF-8.
77
-E ex[:in] Set default external (ex) and internal (in) encodings
88
(same as 'ruby -E').
9-
-w Suppress warnings (same as 'ruby -w').
9+
-w Enable warnings (same as 'ruby -w' or 'ruby -W1').
1010
-W[level=2] Set warning level: 0=silence, 1=medium, 2=verbose
1111
(same as 'ruby -W').
1212
--context-mode n Set n[0-4] to method to create Binding Object,

0 commit comments

Comments
 (0)