zsh-users
 help / color / mirror / code / Atom feed
From: Dennis Haney <davh@davh.dk>
To: zsh-users <zsh-users@sunsite.dk>
Subject: range in parameter
Date: Mon, 08 Apr 2002 23:05:11 +0200	[thread overview]
Message-ID: <3CB20607.5030807@davh.dk> (raw)


I have a program which has a switch takes a number between 0 and 100:

_arguments  \
        {'(-v)--volume','(--volume)-v'}"[Set audio volume to N 
(0-100)]:volume:" \

But how do I specify that all number between 0 and 100 are valid params 
without having to type all 100?

-- 
Dennis
use Inline C => qq{void p(char*g){printf("Just Another %s Hacker\n",g);}};p("Perl");



             reply	other threads:[~2002-04-08 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08 21:05 Dennis Haney [this message]
2002-04-08 21:15 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CB20607.5030807@davh.dk \
    --to=davh@davh.dk \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).