On Thu, Mar 24, 2016 at 10:46 PM, Junio C Hamano wrote:
> Pranit Bauva writes:
>
+`OPT_CMDMODE(short, long, &int_var, description, enum_val)`::
+ Introduce an option for subcommands. It is useful when you want to
use
+ the command with a particular sub command only an
Pranit Bauva writes:
>>> +`OPT_CMDMODE(short, long, &int_var, description, enum_val)`::
>>> + Introduce an option for subcommands. It is useful when you want to use
>>> + the command with a particular sub command only and ignore other sub
>>> + commands it has. It will set `int_var` t
On Thu, Mar 24, 2016 at 9:37 PM, Junio C Hamano wrote:
> Pranit Bauva writes:
>
>> OPT_CMDMODE() was introduced in the release of 1.8.5 which makes the use
>> of subcommands in the form of arguments a lot cleaner and easier.
>> ---
>
> Sign-off?
Will include this.
>> Documentation/technical/ap
Pranit Bauva writes:
> OPT_CMDMODE() was introduced in the release of 1.8.5 which makes the use
> of subcommands in the form of arguments a lot cleaner and easier.
> ---
Sign-off?
> Documentation/technical/api-parse-options.txt | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Doc
OPT_CMDMODE() was introduced in the release of 1.8.5 which makes the use
of subcommands in the form of arguments a lot cleaner and easier.
---
Documentation/technical/api-parse-options.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/technical/api-parse-options.txt
b/Do
5 matches
Mail list logo