Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Qmail-Scanner-Diagnostics: from mail-lf0-f50.google.com by f.primenet.com.au (envelope-from <myllynen@redhat.com>, uid 7791) with qmail-scanner-2.11 
 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1.  
 Clear:RC:0(209.85.215.50):SA:0(-0.0/5.0):. 
 Processed in 0.171318 secs); 22 Jul 2016 08:18:07 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS
	autolearn=unavailable autolearn_force=no version=3.4.1
X-Envelope-From: myllynen@redhat.com
X-Qmail-Scanner-Mime-Attachments: |
X-Qmail-Scanner-Zip-Files: |
Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.215.50 as permitted sender)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:reply-to:subject:references:to:cc:from
         :organization:message-id:date:user-agent:mime-version:in-reply-to
         :content-transfer-encoding;
        bh=tea4SdeM4kxUq1lpVPKgKIId0X+9en473Wr8nhkD+q8=;
        b=JYRJ/TJ4MCzna27AOBLvNN5n6lk0ItfL033kxE5IluGO6btSWNdjvJY8cYxWnqfm3C
         UOAZzW+ltpSDYCt5WnQYmOgXahQsDKXO2KV1rnWrih6u7sxgvCv+9G5PAfcXUCmHsEAK
         2BSKv+xCWkkEFTeuP+qUcSPZjokVDvt1DJuuuhqzzonBFE/F3r6KYLhpI78NdHSezOLw
         b+KwE2FCeTtBSbb8Uiyk3iRyspnbYphMLB/sfu0TaXWVgQWMXxNn2BAW429gy5av+MDt
         rFkcrqtL2nF2pkKBF/ZGD5V+nnRNNVSZqbe96YCCZ9Smz/Gp/g6jmvuoB0q1p0YaYnSu
         lx3g==
X-Gm-Message-State: AEkoousorQ2tCaCFNTD7fmyy/jhSszyyjubnEfFZtBoZbfn1yonlK+vxvkRuSiJgJK+EkRiy
X-Received: by 10.25.218.12 with SMTP id r12mr2091600lfg.50.1469175477695;
        Fri, 22 Jul 2016 01:17:57 -0700 (PDT)
Reply-To: Marko Myllynen <myllynen@redhat.com>
Subject: Re: [PATCH] _virsh (Was: Re: zsh virsh completion)
References: <8eb6dce0-50d7-5ab2-503a-194c1de2e45d@redhat.com>
 <20160713045957.GA3893@tarsus.local2>
 <9968da53-c1fd-fa2a-f30c-c74f884d2478@redhat.com>
 <20160720065832.GA28939@tarsus.local2>
 <699166a0-b0f0-452c-2561-b7e3cc952062@redhat.com>
 <20160721065726.GD2467@tarsus.local2>
 <6c163098-a62d-a6a4-d6a4-62894dfee8de@redhat.com>
 <20160722063008.GA22281@tarsus.local2>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh-workers@zsh.org
From: Marko Myllynen <myllynen@redhat.com>
Organization: Red Hat
Message-ID: <98a8ea66-85a9-a363-7b64-465cf11a6d76@redhat.com>
Date: Fri, 22 Jul 2016 11:17:54 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.2
MIME-Version: 1.0
In-Reply-To: <20160722063008.GA22281@tarsus.local2>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Seq: zsh-workers 38915

Hi,

On 2016-07-22 09:30, Daniel Shahaf wrote:
> Marko Myllynen wrote on Thu, Jul 21, 2016 at 15:32:14 +0300:
>> On 2016-07-21 09:57, Daniel Shahaf wrote:
>>> Could you suggest how to clarify the man page section I quoted?
>>
>> Perhaps change "with both -s and -w, -xy may be the option -x and the
>> option -y with arguments still to come" to "... with arguments still to
>> come for -x"?
> 
> diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
> index 8792324..a50df99 100644
> --- a/Doc/Zsh/compsys.yo
> +++ b/Doc/Zsh/compsys.yo
> @@ -3591,8 +3591,9 @@ even if one or more of the options take
>  arguments.  For example, if tt(-x) takes an argument, with no
>  tt(-s), `tt(-xy)' is considered as a single (unhandled) option; with
>  tt(-s), tt(-xy) is an option with the argument `tt(y)'; with both tt(-s)
> -and tt(-w), tt(-xy) may be the option tt(-x) and the option tt(-y) with
> -arguments still to come.
> +and tt(-w), tt(-xy) is the option tt(-x) and the option tt(-y) with
> +arguments to tt(-x) (and to tt(-y), if it takes arguments) still to come
> +in subsequent words.
>  )
>  item(tt(-W))(
>  This option takes tt(-w) a stage further:  it is possible to

Thanks, this looks clear now.

Cheers,

-- 
Marko Myllynen

