Skip to content

Commit

Permalink
When using help, append --help to specific command (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Agüero <[email protected]>
  • Loading branch information
tykurtz and caguero authored May 7, 2020
1 parent 019497e commit 778c005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ign.in
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,9 @@ if ARGV[0].eql? 'help'
exit(0)
end

# Remove the help command.
# Remove the help command and append --help.
ARGV.delete_at(0)
ARGV.append('--help')
end

version_index = 0
Expand Down

0 comments on commit 778c005

Please sign in to comment.