Do not list info about --help option by default.

This commit is contained in:
Jorge Bucaran 2016-02-24 15:30:56 +09:00
parent 159dd0744b
commit 4878de9eb1
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ function fisher -d "Fish Plugin Manager"
set value commands set value commands
end end
printf "Usage: fisher <command> [<args>] [--list] [--version] [--help]\n\n" printf "Usage: fisher <command> [<args>] [--list] [--version]\n\n"
switch commands switch commands
case $value case $value

View file

@ -33,7 +33,7 @@ test "$TESTNAME - Handle \$fisher_alias aliases"
end end
test "$TESTNAME - Display usage help" test "$TESTNAME - Display usage help"
(fisher | sed 1q) = "Usage: fisher <command> [<args>] [--list] [--version] [--help]" (fisher | sed 1q) = "Usage: fisher <command> [<args>] [--list] [--version]"
end end
test "$TESTNAME - Display basic information help info about 'help'" test "$TESTNAME - Display basic information help info about 'help'"