From c81fa521148cd4fff43a253e8a8be5fd51e0d8ee Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 23 Sep 2008 05:26:53 +0000 Subject: Jörg Sommer: 25717: fixups for 25702. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Completion/Linux/Command/_ionice | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'Completion') diff --git a/Completion/Linux/Command/_ionice b/Completion/Linux/Command/_ionice index 7a4060341..205f805a2 100644 --- a/Completion/Linux/Command/_ionice +++ b/Completion/Linux/Command/_ionice @@ -1,23 +1,12 @@ #compdef ionice -local context state line -typeset -A opt_args - _arguments \ '(* -)-h[display usage information]' \ - '-p[interpret args as process ID]' \ + '(*)-p[interpret args as process ID]' \ '-c[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \ '-n[scheduling class priority]:class-pririty:(( 0\:high\ priority - {1..6}\: + {6..1}\: 7\:low\ priority ))' \ - '*::command or pid:->cmd_or_pid' \ - && return 0 - -if (( $+opt_args[-p] )) -then - _pids -else - _normal -fi + '*::command:_normal' -- cgit 1.4.1