From 419ace2d58132f180817a2bf1b14acabaae9056d Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Sat, 17 Sep 2016 22:50:40 +0200 Subject: [PATCH] avoid --help twice in help message --- lib/cmdtest/argumentparser.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cmdtest/argumentparser.rb b/lib/cmdtest/argumentparser.rb index dc49103..3ee0ae9 100644 --- a/lib/cmdtest/argumentparser.rb +++ b/lib/cmdtest/argumentparser.rb @@ -182,7 +182,6 @@ module Cmdtest puts end puts("optional arguments:") - puts(" -h, --help show this help message and exit") for option in @options str = " " + option.names() wanted = 22