##// END OF EJS Templates
Added missing --config global option to zsh_completion....
byron@base2.cc -
r6804:694223a2 default
parent child Browse files
Show More
@@ -205,8 +205,7 b' typeset -A _hg_cmd_globals'
205
205
206 _hg_config() {
206 _hg_config() {
207 typeset -a items
207 typeset -a items
208 local line
208 items=(${${(%f)"$(_call_program hg hg showconfig)"}%%\=*})
209 items=(${${(%f)"$(_hg_cmd showconfig)"}%%\=*})
210 (( $#items )) && _describe -t config 'config item' items
209 (( $#items )) && _describe -t config 'config item' items
211 }
210 }
212
211
@@ -291,10 +290,14 b' typeset -A _hg_cmd_globals'
291 '--cwd[change working directory]:new working directory:_files -/'
290 '--cwd[change working directory]:new working directory:_files -/'
292 '(--noninteractive -y)'{-y,--noninteractive}'[do not prompt, assume yes for any required answers]'
291 '(--noninteractive -y)'{-y,--noninteractive}'[do not prompt, assume yes for any required answers]'
293 '(--verbose -v)'{-v,--verbose}'[enable additional output]'
292 '(--verbose -v)'{-v,--verbose}'[enable additional output]'
293 '*--config[set/override config option]:defined config items:_hg_config'
294 '(--quiet -q)'{-q,--quiet}'[suppress output]'
294 '(--quiet -q)'{-q,--quiet}'[suppress output]'
295 '(--help -h)'{-h,--help}'[display help and exit]'
295 '(--help -h)'{-h,--help}'[display help and exit]'
296 '--debug[debug mode]'
296 '--debug[debug mode]'
297 '--debugger[start debugger]'
297 '--debugger[start debugger]'
298 '--encoding[set the charset encoding (default: UTF8)]'
299 '--encodingmode[set the charset encoding mode (default: strict)]'
300 '--lsprof[print improved command execution profile]'
298 '--traceback[print traceback on exception]'
301 '--traceback[print traceback on exception]'
299 '--time[time how long the command takes]'
302 '--time[time how long the command takes]'
300 '--profile[profile]'
303 '--profile[profile]'
General Comments 0
You need to be logged in to leave comments. Login now