help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using getopts for passing optional value to an option


From: Kerin Millar
Subject: Re: Using getopts for passing optional value to an option
Date: Sun, 19 Dec 2021 20:45:54 +0000

On Sun, 19 Dec 2021 20:38:14 +0100 (CET)
fatiparty--- via <help-bash@gnu.org> wrote:

> 
> I am using getopts.  Does it not take optional values to options if one uses 
> "-t::" for the shortopts string?

Try "t:". Also, `help getopts` and 
http://mywiki.wooledge.org/BashFAQ/035#getopts.

-- 
Kerin Millar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]