From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24743 invoked by alias); 14 Dec 2011 01:13:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30023 Received: (qmail 27081 invoked from network); 14 Dec 2011 01:13:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ZylYzWO/3spKKGiStEt2ID9IQWkxJmflOAb60Of4mlU=; b=kvsf8EvryadUtnr4jcrGO0AxMqj2selX//fKPFZZZL9agnhZIpPu9ovkJub+6YUF5z jCReczJufi4A73Qoy18ZmLQ4mHwgLryE8fNw3LlK+3CPXI6OmG7SVvu7K5Tge9bwru9V 1AZ8XGBgeTg/Y1hk9hPJIbXvDPehABhYCuslw= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 14 Dec 2011 02:13:33 +0100 Message-ID: Subject: Re: PATCH: _update_alternatives: add missing options in completion From: Mikael Magnusson To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/9/18 Ole J=C3=B8rgen Br=C3=B8nner : > (Against 1c2ff6852911c47b1386d72e781b465f140e77eb) > > Even though the version in Debian stable doesn't list all these in the > --help message they are supported. (see man page) > > Hopefully I didn't make any mistakes. First time I've messed with complet= ion > code. Any reason nobody else committed this? > --- > diff --git a/Completion/Debian/Command/_update-alternatives > b/Completion/Debian/Command/_update-al > index dd1d4fc..47cda1a 100644 > --- a/Completion/Debian/Command/_update-alternatives > +++ b/Completion/Debian/Command/_update-alternatives > @@ -16,11 +16,21 @@ _arguments -C \ > '--version' \ > '--altdir:altdir:_files -/' \ > '--admindir:admindir:_files -/' \ > + '--log:log file:_files -/' \ > + '--force' \ > + '--skip-auto' \ > '--install:*::alt:=3D ->install' \ > '--remove:*::alt:=3D ->remove' \ > + '--remove-all:name:_files -W $alterdir' \ > '--auto:name:_files -W $alterdir' \ > '--display:name:_files -W $alterdir' \ > - '--config:name:_files -W $alterdir' && return > + '--query:name:_files -W $alterdir' \ > + '--list:name:_files -W $alterdir' \ > + '--get-selections' \ > + '--set-selections' \ > + '--config:name:_files -W $alterdir' \ > + '--set:name:_files -W $alterdir:path:_files -/' \ > + '--all' && return > > while true; do > case "$state" in > > -- > > Ole J=C3=B8rgen Br=C3=B8nner --=20 Mikael Magnusson