diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-04 12:37:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-04 12:37:52 -0700 |
commit | 366b80bf0a84b607115bd4ffcd8e5ebfc7338442 (patch) | |
tree | 8dace2d8aa41e2eb4f584529e1f3588d83b9bb3e /test-parse-options.c | |
parent | Merge branch 'jl/some-submodule-config-are-not-boolean' (diff) | |
parent | tag: use OPT_CMDMODE (diff) | |
download | tgif-366b80bf0a84b607115bd4ffcd8e5ebfc7338442.tar.xz |
Merge branch 'jc/parseopt-command-modes'
Many commands use --dashed-option as a operation mode selector
(e.g. "git tag --delete") that the user can use at most one
(e.g. "git tag --delete --verify" is a nonsense) and you cannot
negate (e.g. "git tag --no-delete" is a nonsense). Make it easier
for users of parse_options() to enforce these restrictions.
* jc/parseopt-command-modes:
tag: use OPT_CMDMODE
parse-options: add OPT_CMDMODE()
Diffstat (limited to 'test-parse-options.c')
0 files changed, 0 insertions, 0 deletions