Show More
@@ -205,8 +205,7 b' typeset -A _hg_cmd_globals' | |||
|
205 | 205 | |
|
206 | 206 | _hg_config() { |
|
207 | 207 | typeset -a items |
|
208 | local line | |
|
209 | items=(${${(%f)"$(_hg_cmd showconfig)"}%%\=*}) | |
|
208 | items=(${${(%f)"$(_call_program hg hg showconfig)"}%%\=*}) | |
|
210 | 209 | (( $#items )) && _describe -t config 'config item' items |
|
211 | 210 | } |
|
212 | 211 | |
@@ -291,10 +290,14 b' typeset -A _hg_cmd_globals' | |||
|
291 | 290 | '--cwd[change working directory]:new working directory:_files -/' |
|
292 | 291 | '(--noninteractive -y)'{-y,--noninteractive}'[do not prompt, assume yes for any required answers]' |
|
293 | 292 | '(--verbose -v)'{-v,--verbose}'[enable additional output]' |
|
293 | '*--config[set/override config option]:defined config items:_hg_config' | |
|
294 | 294 | '(--quiet -q)'{-q,--quiet}'[suppress output]' |
|
295 | 295 | '(--help -h)'{-h,--help}'[display help and exit]' |
|
296 | 296 | '--debug[debug mode]' |
|
297 | 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 | 301 | '--traceback[print traceback on exception]' |
|
299 | 302 | '--time[time how long the command takes]' |
|
300 | 303 | '--profile[profile]' |
General Comments 0
You need to be logged in to leave comments.
Login now