added 'Usage:' line in --help output

This commit is contained in:
Johan Holmberg 2009-05-09 12:40:37 +00:00 committed by holmberg556
parent fcf4154d72
commit 5342fe0ce4

View File

@ -350,6 +350,8 @@ module Cmdtest
end
def _show_options
puts "Usage: cmdtest [options] [files/directories]"
puts
puts " --help show this help"
puts " --quiet be more quiet"
puts " --verbose be more verbose"