diff options
author | Pierre Habouzit <madcoder@debian.org> | 2008-07-08 12:34:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-09 01:33:24 -0700 |
commit | 1cc6985ca7dd3aaab0617ec0fd00d4eb0b424465 (patch) | |
tree | 2704c8317cacbb9fed72f1abb72c9d3384058c29 /builtin-branch.c | |
parent | 3f8d5204896a85d9268c579fc3e31b22b33fb803 (diff) | |
download | git-1cc6985ca7dd3aaab0617ec0fd00d4eb0b424465.tar.gz |
parse-options: add PARSE_OPT_LASTARG_DEFAULT flag
If you set this for a given option, and the optoin appears without an
argument on the command line, then the `defval' is used as its argument.
Note that this flag is meaningless in presence of OPTARG or NOARG flags.
(in the current implementation it will be ignored, but don't rely on it).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-branch.c')
0 files changed, 0 insertions, 0 deletions