From 949d186d6cf66149a82908e3c8043189c6c69533 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 9 May 2015 15:10:09 +0000 Subject: 35066: Minor completion fix for pasted arguments --- ChangeLog | 6 ++++++ Completion/Unix/Command/_python | 2 +- Completion/Unix/Command/_subversion | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 887637967..816de456a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-05-09 Daniel Shahaf + + * 35066: Completion/Unix/Command/_python + Completion/Unix/Command/_subversion: Minor completion fix for + pasted arguments + 2015-05-09 Jun-ichi Takimoto * 35064: Src/pattern.c, Src/utils.c, Src/ztype.h: rename diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python index dedb9ceda..2fb4a915b 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 597f2325c..188a81367 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+=( -- cgit 1.4.1