From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23665 invoked by alias); 16 Oct 2015 07:53:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20772 Received: (qmail 13221 invoked from network); 16 Oct 2015 07:53:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :date:message-id:mime-version:content-type; s=postfix; bh=eFI2i5 iNuDHnN7OSv8d/uvrbs20=; b=ZDi/HHvEIEgp5JhwRh4Y4NwEWOMWlhQ0dOc0Uo jTrIZWDX4KpAmGrWirRSaz+dbyXOXGj6zxsCkCL3/8XRN31CftdF4vq6gXy3yZwO uCYV0JhljU8nwZFuIRSAFfuwo/QEj/IN1vRkIKN/ghnsXF9Cb4nWz6QIWf0LTxF3 sPho4= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=postfix; b= kD3Mcq6FJoCwswWsy8RPzuo22IFvRs4mwul7eYrGyOIRpL4BfiDrUxGX4ykc0jyX g8teazBjLE6I3DJ0rWKnWdtCALK1ZZvEFt8djSlzsbMY/YfQ2jaanfnzrvEDOzZ1 pyJFmfQJbfcq7Xg2UpYdsVrxJXu5cFHfdeFUTLKFo5c= From: Vincent Bernat To: zsh-users@zsh.org Subject: completion: option stacking and arguments! Date: Fri, 16 Oct 2015 09:53:19 +0200 Message-ID: <87vba7tfkg.fsf@zoro.exoscale.ch> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Hey! When using completion with "_arguments '-u=[Run as specified user]:user:_users'", completing users after "-u" requires a space or an equal sign. However, when enabling short option stacking with "-s", this is not the case anymore. How to still require a space/equal before a mandatory argument when using option stacking? Thanks! -- Write clearly - don't sacrifice clarity for "efficiency". - The Elements of Programming Style (Kernighan & Plauger)