From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 497f8af1 for ; Fri, 27 Sep 2019 13:50:36 +0000 (UTC) Received: (qmail 28562 invoked by alias); 27 Sep 2019 13:50:31 -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: List-Unsubscribe: X-Seq: 44785 Received: (qmail 4336 invoked by uid 1010); 27 Sep 2019 13:50:31 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25580. spamassassin: 3.4.2. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 1.029341 secs); 27 Sep 2019 13:50:31 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=BuGgzcC Yb4KkUVmI80WyMp+hwhwJhbK14TNXpZ7DzVs=; b=GzbANCVfBhQ9Q3aIulZzXo2 IMENXsM4cSFccGXju+ssHp5G0dU+FhRS+ZdPIb9TPPn4kfb9C2Pei+Nnk+vAKZ6Z JjmxSlpOwjtguApE6HZu+nM/8GX7H+c0zI9TlCRQiHHt4LkcYDSA2rxALlvYtzvc DxpnbqEvBiTXM3IUWMn2wOsgaDUFYn31Qk/dszYLWFhTTIhKL6xFEVUGWXbms3ZG EowHLY7lpPc0dYxGhhf8FVKWappRTaz2PQRfA0W7/Cj5D6aKCvy0rsFdXCk6dKvK tnV/Z5cqxAqwW4spIXEGi8F1eZkSTFKLpSDVWiyOFSf3jtpG1+CMEF9O9x6TLcw= = DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BuGgzc CYb4KkUVmI80WyMp+hwhwJhbK14TNXpZ7DzVs=; b=eg2nU1pgObkr+iovpZXF8W dqDP0e3E7lGnWeVF3axwbn+zWnNAh7L4pOgE02Mp9685GS9N6PL5UaxXMyA2k3RF C0U/Ba+WLw0enKQRmPEI6ngSC/AvyN2mkJ4uLn0qjJFWtBimqFNTgWJ/qEF1aEZq qtx9Wb1oGNSOT6xsVNzlvXlMzo6XDbapa5Mg7kpl4rDta3g3lz1HWflv14hO+Y2v DgEBphWG/npgRQMh/3m5B5xf80zjUNGpXV1ZAfkYu9gt6Zbg9uXfGA4wTTjxeN+W nb8jAu338HejVjzcMXa0bkijAbQzk3au15dV2FOXvWfL4Ii+iSYmHDzOunRm9LjQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeeigdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfffgrnhhi vghlucfuhhgrhhgrfhdfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdr nhgrmhgvnecuvehluhhsthgvrhfuihiivgepud X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-305-g4111847-fmstable-20190924v1 Mime-Version: 1.0 Message-Id: <08fda202-ce07-4ec7-907f-2dfae3a38215@www.fastmail.com> In-Reply-To: <93184-1569577244.094968@Wtq1.Nz_l.UBa8> References: <93184-1569577244.094968@Wtq1.Nz_l.UBa8> Date: Fri, 27 Sep 2019 13:49:35 +0000 From: "Daniel Shahaf" To: "Zsh workers" Subject: Re: PATCH: some repeatable options in completions Content-Type: text/plain Oliver Kiddle wrote on Fri, 27 Sep 2019 09:40 +00:00: > ssh, multiple -t options force tty allocation, even if ssh has no local > tty. So I'm not sure there's any meaning to specifying it more than > twice but _arguments doesn't provide an easy way to indicate that. > (untested) How about: '(-t -tt)-T[disable pseudo-tty allocation]' \ '(-T)-t[force pseudo-tty allocation]' \ "(-T)-tt[force pseudo-tty allocation even if have no controlling tty]" \ ? > '-s[invoke subsystem]' \ > '(-t)-T[disable pseudo-tty allocation]' \ > - '(-T)-t[force pseudo-tty allocation]' \ > + '(-T)*-t[force pseudo-tty allocation]' \ > '-V[show version number]' \ > '(-q)*-v[verbose mode (multiple increase verbosity, up to 3)]' \ > '-W+[forward standard input and output to host]:stdinout forward:->hostport' \