From 2ea00ce444d326d11ef64bff3c81636aff624855 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 22 Aug 2006 10:52:30 +1000 Subject: [PATCH] help --help should be same as help help darcs-hash:20060822005230-ac50b-b82c0665cae7427c09992f51e128e33cea44b41e.gz --- share/functions/help.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/functions/help.fish b/share/functions/help.fish index 2d8fb5093..02f8cce5a 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -18,6 +18,12 @@ function help -d (N_ "Show help for the fish shell") set h $h expand-variable expand-home expand-brace expand-wildcard set -l help_topics $h expand-command-substitution expand-process + # 'help -h' should launch 'help help' + switch $argv[1] + case -h --h --he --hel --help + set argv help + end + # # Find a suitable browser for viewing the help pages. This is needed # by the help function defined below.