##// END OF EJS Templates
zsh_completion: rename _hg_style_opts to _hg_template_opts...
av6 -
r39235:27bbd62e default
parent child Browse files
Show More
@@ -424,12 +424,12 b' typeset -A _hg_cmd_globals'
424 '(--ignore-space-change -b)'{-b,--ignore-space-change}'[ignore changes in the amount of white space]'
424 '(--ignore-space-change -b)'{-b,--ignore-space-change}'[ignore changes in the amount of white space]'
425 '(--ignore-blank-lines -B)'{-B,--ignore-blank-lines}'[ignore changes whose lines are all blank]')
425 '(--ignore-blank-lines -B)'{-B,--ignore-blank-lines}'[ignore changes whose lines are all blank]')
426
426
427 _hg_style_opts=(
427 _hg_template_opts=(
428 '--style[display using template map file]:'
428 '--template[display with template]:template'
429 '--template[display with template]:')
429 )
430
430
431 _hg_log_opts=(
431 _hg_log_opts=(
432 $_hg_global_opts $_hg_style_opts $_hg_gitlike_opts
432 $_hg_global_opts $_hg_template_opts $_hg_gitlike_opts
433 '(--limit -l)'{-l+,--limit=}'[limit number of changes displayed]:'
433 '(--limit -l)'{-l+,--limit=}'[limit number of changes displayed]:'
434 '(--no-merges -M)'{-M,--no-merges}'[do not show merges]'
434 '(--no-merges -M)'{-M,--no-merges}'[do not show merges]'
435 '(--patch -p)'{-p,--patch}'[show patch]'
435 '(--patch -p)'{-p,--patch}'[show patch]'
@@ -642,7 +642,7 b' typeset -A _hg_cmd_globals'
642 }
642 }
643
643
644 _hg_cmd_heads() {
644 _hg_cmd_heads() {
645 _arguments -s -w : $_hg_global_opts $_hg_style_opts \
645 _arguments -s -w : $_hg_global_opts $_hg_template_opts \
646 '(--topo -t)'{-t,--topo}'[show topological heads only]' \
646 '(--topo -t)'{-t,--topo}'[show topological heads only]' \
647 '(--closed -c)'{-c,--closed}'[show normal and closed branch heads]' \
647 '(--closed -c)'{-c,--closed}'[show normal and closed branch heads]' \
648 '(--rev -r)'{-r+,--rev=}'[show only heads which are descendants of rev]:revision:_hg_labels'
648 '(--rev -r)'{-r+,--rev=}'[show only heads which are descendants of rev]:revision:_hg_labels'
@@ -745,7 +745,7 b' typeset -A _hg_cmd_globals'
745 }
745 }
746
746
747 _hg_cmd_parents() {
747 _hg_cmd_parents() {
748 _arguments -s -w : $_hg_global_opts $_hg_style_opts \
748 _arguments -s -w : $_hg_global_opts $_hg_template_opts \
749 '(--rev -r)'{-r+,--rev=}'[show parents of the specified rev]:revision:_hg_labels' \
749 '(--rev -r)'{-r+,--rev=}'[show parents of the specified rev]:revision:_hg_labels' \
750 ':last modified file:_hg_files'
750 ':last modified file:_hg_files'
751 }
751 }
@@ -905,7 +905,7 b' typeset -A _hg_cmd_globals'
905 }
905 }
906
906
907 _hg_cmd_tip() {
907 _hg_cmd_tip() {
908 _arguments -s -w : $_hg_global_opts $_hg_gitlike_opts $_hg_style_opts \
908 _arguments -s -w : $_hg_global_opts $_hg_gitlike_opts $_hg_template_opts \
909 '(--patch -p)'{-p,--patch}'[show patch]'
909 '(--patch -p)'{-p,--patch}'[show patch]'
910 }
910 }
911
911
General Comments 0
You need to be logged in to leave comments. Login now