mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add -h flag to show help
This commit is contained in:
parent
2b71400d9a
commit
a57e596a62
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ module Spectator
|
|||
OptionParser.parse(@args) do |parser|
|
||||
parser.on("-v", "--verbose", "Verbose output using document formatter") { builder.formatter = Formatting::DocumentFormatter.new }
|
||||
parser.on("-f", "--fail-fast", "Stop testing on first failure") { builder.fail_fast }
|
||||
parser.on("-h", "--help", "Show this help") { puts parser; exit }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue