From b560daac21673e1fdfd3251b7b49f498321552f1 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 17 Oct 2016 15:30:28 -0700 Subject: [PATCH] suspend.fish: print help on -h, --help --- share/functions/suspend.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/functions/suspend.fish b/share/functions/suspend.fish index 8d609dec1..af2ce5012 100644 --- a/share/functions/suspend.fish +++ b/share/functions/suspend.fish @@ -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