suspend.fish: print help on -h, --help

This commit is contained in:
Aaron Gyes 2016-10-17 15:30:28 -07:00
parent 8a7b30d3f0
commit b560daac21

View file

@ -1,4 +1,8 @@
function suspend -d "Suspend the current shell."
if contains -- $argv --help; or contains -- $argv -h
__fish_print_help suspend
and return 0
end
if begin contains -- $argv --force
or not status --is-interactive and not status --is-login
end