Replace deprecated OPT_BOOLEAN by OPT_BOOL
This task emerged from b04ba2bb (parse-options: deprecate OPT_BOOLEAN,
2011-09-27). All occurrences of the respective variables have
been reviewed and none of them relied on the counting up mechanism,
but all of them were using the variable as a true boolean.
This patch does not change semantics of any command intentionally.
Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
4741edd549
commit
d5d09d4754
@ -674,11 +674,11 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
|
||||
N_("Dump marks to this file")),
|
||||
OPT_STRING(0, "import-marks", &import_filename, N_("file"),
|
||||
N_("Import marks from this file")),
|
||||
OPT_BOOLEAN(0, "fake-missing-tagger", &fake_missing_tagger,
|
||||
N_("Fake a tagger when tags lack one")),
|
||||
OPT_BOOLEAN(0, "full-tree", &full_tree,
|
||||
N_("Output full tree for each commit")),
|
||||
OPT_BOOLEAN(0, "use-done-feature", &use_done_feature,
|
||||
OPT_BOOL(0, "fake-missing-tagger", &fake_missing_tagger,
|
||||
N_("Fake a tagger when tags lack one")),
|
||||
OPT_BOOL(0, "full-tree", &full_tree,
|
||||
N_("Output full tree for each commit")),
|
||||
OPT_BOOL(0, "use-done-feature", &use_done_feature,
|
||||
N_("Use the done feature to terminate the stream")),
|
||||
OPT_BOOL(0, "no-data", &no_data, N_("Skip output of blob data")),
|
||||
OPT_END()
|
||||
|
||||
Reference in New Issue
Block a user