Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 1b7101e

Browse files
author
Michael Reinsch
committed
fix: make sure to call exit when displating help
1 parent 4ea5fff commit 1b7101e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

bin/ctb_list_creations

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ opt_parser = OptionParser.new do |opt|
3535

3636
opt.on("-h","--help","help") do
3737
puts opt_parser
38+
exit
3839
end
3940
end
4041

bin/ctb_list_creators

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ opt_parser = OptionParser.new do |opt|
3535

3636
opt.on("-h","--help","help") do
3737
puts opt_parser
38+
exit
3839
end
3940
end
4041

bin/ctb_uploader

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ opt_parser = OptionParser.new do |opt|
5555

5656
opt.on("-h","--help","help") do
5757
puts opt_parser
58+
exit
5859
end
5960
end
6061

0 commit comments

Comments
 (0)