[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-396-gd552dac

Ville Skyttä ville.skytta at iki.fi
Tue Jul 5 16:30:38 UTC 2011


The following commit has been merged in the master branch:
commit df00e7508b3df9c753bf4528a90f5541fcc15754
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jul 5 19:28:08 2011 +0300

    svn*: Don't suggest short options.

diff --git a/completions/_subversion b/completions/_subversion
index 1ae666d..f5c6b0c 100644
--- a/completions/_subversion
+++ b/completions/_subversion
@@ -56,140 +56,134 @@ _svn()
             case $command in
                 add)
                     options='--auto-props --no-auto-props --force --targets
-                             --no-ignore --non-recursive -N -q --quiet'
+                             --no-ignore --non-recursive --quiet'
                     ;;
                 blame|annotate|ann|praise)
-                    options='-r --revisions --username --password
-                             --no-auth-cache --non-interactive -v --verbose
-                             --incremental --xml'
+                    options='--revisions --username --password --no-auth-cache
+                             --non-interactive --verbose --incremental --xml'
                     ;;
                 cat)
-                    options='-r --revision --username --password
-                             --no-auth-cache --non-interactive'
+                    options='--revision --username --password --no-auth-cache
+                             --non-interactive'
                     ;;
                 checkout|co)
-                    options='-r --revision -q --quiet -N --non-recursive
-                             --username --password --no-auth-cache
-                             --non-interactive --ignore-externals'
+                    options='--revision --quiet --non-recursive --username
+                             --password --no-auth-cache --non-interactive
+                             --ignore-externals'
                     ;;
                 cleanup)
                     options='--diff3-cmd'
                     ;;
                 commit|ci)
-                    options='-m --message -F --file --encoding --force-log -q
-                             --quiet --non-recursive -N --targets --editor-cmd
-                             --username --password --no-auth-cache
-                             --non-interactive --no-unlock'
+                    options='--message --file --encoding --force-log --quiet
+                             --non-recursive --targets --editor-cmd --username
+                             --password --no-auth-cache --non-interactive
+                             --no-unlock'
                     ;;
                 copy|cp)
-                    options='-m --message -F --file --encoding --force-log -r
-                             --revision -q --quiet --editor-cmd -username
-                             --password --no-auth-cache --non-interactive'
+                    options='--message --file --encoding --force-log --revision
+                             --quiet --editor-cmd -username --password
+                             --no-auth-cache --non-interactive'
                     ;;
                 delete|del|remove|rm)
-                    options='--force -m --message -F --file --encoding
-                             --force-log -q --quiet --targets --editor-cmd
-                             --username --password --no-auth-cache
-                             --non-interactive'
+                    options='--force --message --file --encoding --force-log
+                             --quiet --targets --editor-cmd --username
+                             --password --no-auth-cache --non-interactive'
                     ;;
                 diff|di)
-                    options='-r --revision -x --extensions --diff-cmd
-                             --no-diff-deleted -N --non-recursive --username
+                    options='--revision --extensions --diff-cmd
+                             --no-diff-deleted --non-recursive --username
                              --password --no-auth-cache --non-interactive
                              --force --old --new --notice-ancestry'
                     ;;
                 export)
-                    options='-r --revision -q --quiet --username --password
-                             --no-auth-cache --non-interactive -N
-                             --non-recursive --force --native-eol
-                             --ignore-externals'
+                    options='--revision --quiet --username --password
+                             --no-auth-cache --non-interactive --non-recursive
+                             --force --native-eol --ignore-externals'
                     ;;
                 import)
-                    options='--auto-props --no-auto-props -m --message -F
-                             --file --encoding --force-log -q --quiet
-                             --non-recursive --no-ignore --editor-cmd
-                             --username --password --no-auth-cache
-                             --non-interactive'
+                    options='--auto-props --no-auto-props --message --file
+                             --encoding --force-log --quiet --non-recursive
+                             --no-ignore --editor-cmd --username --password
+                             --no-auth-cache --non-interactive'
                     ;;
                 info)
                     options='--username --password --no-auth-cache
-                             --non-interactive -r --revision --xml --targets
-                             -R --recursive --incremental'
+                             --non-interactive --revision --xml --targets
+                             --recursive --incremental'
                     ;;
                 list|ls)
-                    options='-r --revision -v --verbose -R --recursive
-                             --username --password --no-auth-cache
-                             --non-interactive --incremental --xml'
+                    options='--revision --verbose --recursive --username
+                             --password --no-auth-cache --non-interactive
+                             --incremental --xml'
                     ;;
                 lock)
-                    options='-m --message -F --file --encoding --force-log
-                             --targets --force --username --password
-                             --no-auth-cache --non-interactive'
+                    options='--message --file --encoding --force-log --targets
+                             --force --username --password --no-auth-cache
+                             --non-interactive'
                     ;;
                 log)
-                    options='-r --revision -v --verbose --targets --username
+                    options='--revision --verbose --targets --username
                              --password --no-auth-cache --non-interactive
-                             --stop-on-copy --incremental --xml -q --quiet
+                             --stop-on-copy --incremental --xml --quiet
                              --limit'
                     ;;
                 merge)
-                    options='-r --revision -N --non-recursive -q --quiet
-                             --force --dry-run --diff3-cmd --username
-                             --password --no-auth-cache --non-interactive
+                    options='--revision --non-recursive --quiet --force
+                             --dry-run --diff3-cmd --username --password
+                             --no-auth-cache --non-interactive
                              --ignore-ancestry'
                     ;;
                 mkdir)
-                    options='-m --message -F --file --encoding --force-log -q
-                             --quiet --editor-cmd --username --password
-                             --no-auth-cache --non-interactive'
+                    options='--message --file --encoding --force-log --quiet
+                             --editor-cmd --username --password --no-auth-cache
+                             --non-interactive'
                     ;;
                 move|mv|rename|ren)
-                    options='-m --message -F --file --encoding --force-log -r
-                             --revision -q --quiet --force --editor-cmd
-                             --username --password --no-auth-cache
-                             --non-interactive'
+                    options='--message --file --encoding --force-log --revision
+                             --quiet --force --editor-cmd --username --password
+                             --no-auth-cache --non-interactive'
                     ;;
                 propdel|pdel|pd)
-                    options='-q --quiet -R --recursive -r --revision --revprop
+                    options='--quiet --recursive --revision --revprop
                              --username --password --no-auth-cache
                              --non-interactive'
                     ;;
                 propedit|pedit|pe)
-                    options='-r --revision --revprop --encoding --editor-cmd
+                    options='--revision --revprop --encoding --editor-cmd
                              --username --password --no-auth-cache
                              --non-interactive --force'
                     ;;
                 propget|pget|pg)
-                    options='-R --recursive -r --revision --revprop --strict
+                    options='--recursive --revision --revprop --strict
                              --username --password --no-auth-cache
                              --non-interactive'
                     ;;
                 proplist|plist|pl)
-                    options='-v --verbose -R --recursive -r --revision
-                             --revprop -q --quiet --username --password
-                             --no-auth-cache --non-interactive'
+                    options='--verbose --recursive --revision --revprop --quiet
+                             --username --password --no-auth-cache
+                             --non-interactive'
                     ;;
                 propset|pset|ps)
-                    options='-F --file -q --quiet --targets -R --recursive
-                             --revprop --encoding --username --password
-                             --no-auth-cache --non-interactive -r --revision
-                             --force'
+                    options='--file --quiet --targets --recursive --revprop
+                             --encoding --username --password --no-auth-cache
+                             --non-interactive --revision --force'
                     ;;
                 resolved)
-                    options='--targets -R --recursive -q --quiet'
+                    options='--targets --recursive --quiet'
                     ;;
                 revert)
-                    options='--targets -R --recursive -q --quiet'
+                    options='--targets --recursive --quiet'
                     ;;
                 status|stat|st)
-                    options='-u --show-updates -v --verbose -N --non-recursive
-                             -q --quiet --username --password --no-auth-cache
+                    options='--show-updates --verbose --non-recursive --quiet
+                             --username --password --no-auth-cache
                              --non-interactive --no-ignore --ignore-externals
                              --incremental --xml'
                     ;;
                 switch|sw)
-                    options='--relocate -r --revision -N --non-recursive -q
-                             --quiet --username --password --no-auth-cache
+                    options='--relocate --revision --non-recursive --quiet
+                             --username --password --no-auth-cache
                              --non-interactive --diff3-cmd'
                     ;;
                 unlock)
@@ -197,12 +191,12 @@ _svn()
                              --no-auth-cache --non-interactive'
                     ;;
                 update|up)
-                    options='-r --revision -N --non-recursive -q --quiet
-                             --username --password --no-auth-cache
-                             --non-interactive --diff3-cmd --ignore-externals'
+                    options='--revision --non-recursive --quiet --username
+                             --password --no-auth-cache --non-interactive
+                             --diff3-cmd --ignore-externals'
                     ;;
             esac
-            options+=" --help -h --config-dir"
+            options+=" --help --config-dir"
 
             COMPREPLY=( $( compgen -W "$options" -- $cur ) )
         else
@@ -256,27 +250,27 @@ _svnadmin()
                              --fs-type'
                     ;;
                 deltify)
-                    options='-r --revision -q --quiet'
+                    options='--revision --quiet'
                     ;;
                 dump)
-                    options='-r --revision --incremental -q --quiet --deltas'
+                    options='--revision --incremental --quiet --deltas'
                     ;;
                 hotcopy)
                     options='--clean-logs'
                     ;;
                 load)
-                    options='--ignore-uuid --force-uuid --parent-dir -q --quiet
+                    options='--ignore-uuid --force-uuid --parent-dir --quiet
                              --use-pre-commit-hook --use-post-commit-hook'
                     ;;
                 rmtxns)
-                    options='-q --quiet'
+                    options='--quiet'
                     ;;
                 setlog)
-                    options='-r --revision --bypass-hooks'
+                    options='--revision --bypass-hooks'
                     ;;
             esac
 
-            options+=" --help -h"
+            options+=" --help"
             COMPREPLY=( $( compgen -W "$options" -- $cur ) )
         else
             if [[ "$command" == @(help|h|\?) ]]; then
@@ -314,28 +308,27 @@ _svnlook()
             local options
             case $command in
                 author|cat|date|dirs-changed|info|log)
-                    options='-r --revision -t --transaction'
+                    options='--revision --transaction'
                     ;;
                 changed)
-                    options='-r --revision -t --transaction --copy-info'
+                    options='--revision --transaction --copy-info'
                     ;;
                 diff)
-                    options='-r --revision -t --transaction --no-diff-deleted
+                    options='--revision --transaction --no-diff-deleted
                              --no-diff-added --diff-copy-from'
                     ;;
                 history)
-                    options='-r --revision --show-ids'
+                    options='--revision --show-ids'
                     ;;
                 propget|proplist)
-                    options='-r --revision -t --transaction --revprop'
+                    options='--revision --transaction --revprop'
                     ;;
                 tree)
-                    options='-r --revision -t --transaction --show-ids
-                             --full-paths'
+                    options='--revision --transaction --show-ids --full-paths'
                     ;;
             esac
 
-            options+=" --help -h"
+            options+=" --help"
             COMPREPLY=( $( compgen -W "$options" -- $cur ) )
         else
             if [[ "$command" == @(help|h|\?) ]]; then

-- 
bash-completion



More information about the Bash-completion-commits mailing list