summaryrefslogtreecommitdiff
path: root/test-parse-options.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-04 12:37:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-04 12:37:52 -0700
commit366b80bf0a84b607115bd4ffcd8e5ebfc7338442 (patch)
tree8dace2d8aa41e2eb4f584529e1f3588d83b9bb3e /test-parse-options.c
parentMerge branch 'jl/some-submodule-config-are-not-boolean' (diff)
parenttag: use OPT_CMDMODE (diff)
downloadtgif-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