From 44c66e9556ad81771f24245f99041939f2d585da Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Tue, 10 Feb 2015 15:49:51 +0100 Subject: [PATCH] help needs to know about it's own help --- _conda | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_conda b/_conda index e1bb7e2..cf3128e 100644 --- a/_conda +++ b/_conda @@ -119,7 +119,8 @@ case $state in '*:regex:' \ ;; (help) - _arguments -C '*:commands:__conda_commands' \ + _arguments -C '(-h --help)'{-h,--help}'[show the help message and exit]' \ + '*:commands:__conda_commands' \ ;; (*) #_arguments -C $opts