about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2010-01-07 13:55:08 +0000
committerClint Adams <clint@users.sourceforge.net>2010-01-07 13:55:08 +0000
commit5797f75de344cae8691a294c2263fbe517f2a789 (patch)
tree8220d87da9c8c0de928259517eab2f3bbc02b845
parentf80bc2b5f6dc4c6aa58da88e075a588988807afb (diff)
downloadzsh-5797f75de344cae8691a294c2263fbe517f2a789.tar.gz
zsh-5797f75de344cae8691a294c2263fbe517f2a789.tar.xz
zsh-5797f75de344cae8691a294c2263fbe517f2a789.zip
27578: allow ionice -c and -n arguments to immediately follow the option letters.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Linux/Command/_ionice4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a8628c79b..f627547b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-07  Clint Adams  <clint@zsh.org>
+
+	* 27578: Completion/Linux/Command/_ionice: allow ionice -c and -n
+	arguments to immediately follow the option letters.
+
 2010-01-05  Peter Stephenson  <pws@csr.com>
 
 	* 27566: Src/Builtins/rlimits.c: add ulimit -c hard and immediate
@@ -12545,5 +12550,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4854 $
+* $Revision: 1.4855 $
 *****************************************************
diff --git a/Completion/Linux/Command/_ionice b/Completion/Linux/Command/_ionice
index 83daa03cd..a3d49ec99 100644
--- a/Completion/Linux/Command/_ionice
+++ b/Completion/Linux/Command/_ionice
@@ -3,8 +3,8 @@
 _arguments \
   '(* -)-h[display usage information]' \
   '(*)-p[interpret args as process ID]:pid:_pids' \
-  '-c[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \
-  '-n[scheduling class priority]:class-priority:((
+  '-c+[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \
+  '-n+[scheduling class priority]:class-priority:((
     0\:high\ priority
     {6..1}\:
     7\:low\ priority