mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-21 06:51:58 +00:00
suspend.fish: print help on -h, --help
This commit is contained in:
parent
8a7b30d3f0
commit
b560daac21
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue