avoid --help twice in help message

This commit is contained in:
Johan Holmberg 2016-09-17 22:50:40 +02:00
parent c6cfae144c
commit 419ace2d58

View File

@ -182,7 +182,6 @@ module Cmdtest
puts puts
end end
puts("optional arguments:") puts("optional arguments:")
puts(" -h, --help show this help message and exit")
for option in @options for option in @options
str = " " + option.names() str = " " + option.names()
wanted = 22 wanted = 22