aboutsummaryrefslogtreecommitdiffstats
path: root/sample/optparse/opttest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/optparse/opttest.rb')
-rwxr-xr-x[-rw-r--r--]sample/optparse/opttest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/optparse/opttest.rb b/sample/optparse/opttest.rb
index 9247af494f..ea3bc5ad46 100644..100755
--- a/sample/optparse/opttest.rb
+++ b/sample/optparse/opttest.rb
@@ -18,7 +18,7 @@ ARGV.options do
opts.on_tail("common options:")
# no argument, shows at tail
- opts.on_tail("--help", "show this message") {puts opts; exit}
+ opts.on_tail("--usage", "show this message") {puts opts; exit}
# mandatory argument
opts.on("-r", "--require=LIBRARY", String,