[Top][All Lists]

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

Re: [Bug-moe] About Arg_parser

From: Antonio Diaz Diaz
Subject: Re: [Bug-moe] About Arg_parser
Date: Wed, 23 Sep 2009 15:37:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905


jones leon wrote:
But, I have a question on using arg_parser.Can it accept parameters like
mysql -uroot -p12345
-u and -p are parameters
root and 12345 are values.
there is no space between parameters and values.

Yes. As you can read in the arg_parser manual (arg_parser.info):
"An option and its argument may or may not appear as separate tokens. (In other words, the whitespace separating them is optional). Thus, `-o foo' and `-ofoo' are equivalent".

Best regards,

reply via email to

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