1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

38966: _svnadmin: Complete positional arguments for 'hotcopy', 'setlog', 'setrevprop', 'delrevprop'.

This commit is contained in:
Daniel Shahaf 2016-07-29 17:03:04 +00:00
parent eaaac9c89f
commit 625fe0fce8
2 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,9 @@
2016-07-31 Daniel Shahaf <d.s@daniel.shahaf.name> 2016-07-31 Daniel Shahaf <d.s@daniel.shahaf.name>
* 38966: Completion/Unix/Command/_subversion: _svnadmin: Complete
positional arguments for 'hotcopy', 'setlog', 'setrevprop',
'delrevprop'.
* 38965: Completion/Unix/Command/_subversion: _svnadmin: Complete * 38965: Completion/Unix/Command/_subversion: _svnadmin: Complete
'freeze' as a precommand. 'freeze' as a precommand.

View file

@ -221,6 +221,18 @@ _svnadmin () {
(freeze) (freeze)
args+=( "*:arguments:->normal" ) args+=( "*:arguments:->normal" )
;; ;;
(hotcopy)
args+=( ":new repository:_files -/" )
;;
(setlog)
args+=( ": :_files" )
;;
(setrevprop)
args+=( ":property name" ":property value file:_files" )
;;
(delrevprop)
args+=( ":property name" )
;;
esac esac
elif [[ $cmd = help ]]; then elif [[ $cmd = help ]]; then
args+=( "*:subcommand:_svnadmin_commands" ) args+=( "*:subcommand:_svnadmin_commands" )