Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Minor completion fix for pasted arguments



diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python
index dedb9ce..2fb4a91 100644
--- a/Completion/Unix/Command/_python
+++ b/Completion/Unix/Command/_python
@@ -31,7 +31,7 @@ _arguments -C -s -S "$args[@]" \
   '-E[ignore PYTHON* environment variables (such as PYTHONPATH)]' \
   '(1 * -)-h[display help information]' \
   '-i[inspect interactively after running script]' \
-  '(1 -)-m[run library module as a script (terminates option list)]:module:_python_modules' \
+  '(1 -)-m+[run library module as a script (terminates option list)]:module:_python_modules' \
   '-O[optimize generated bytecode slightly]' \
   '-OO[remove doc-strings in addition to the -O optimizations]' \
   "-s[don't add user site directory to sys.path]" \
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 597f232..188a813 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -96,7 +96,7 @@ _svn () {
             )
           ;;
           (mergeinfo)
-            args[(r)--show-revs:arg:]=( '--show-revs:revisions:(merged eligible)' )
+            args[(r)--show-revs:arg:]=( '--show-revs=:revisions:(merged eligible)' )
           ;;
 	  (propget|propedit)
 	    args+=(



Messages sorted by: Reverse Date, Date, Thread, Author