mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:45:10 +08:00
suspend.fish: print help on -h, --help
This commit is contained in:
parent
8a7b30d3f0
commit
b560daac21
@ -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…
x
Reference in New Issue
Block a user