diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2013-08-03 13:51:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-05 11:32:19 -0700 |
commit | d5d09d475440c24016ec52a0bcc8477d9a7b5c71 (patch) | |
tree | a6758a688f3308d4dc4ff75885fe7ce8792c9921 /builtin/mv.c | |
parent | 4741edd549decfccc016fa4775b349fe94fdf4e5 (diff) | |
download | git-d5d09d475440c24016ec52a0bcc8477d9a7b5c71.tar.gz git-d5d09d475440c24016ec52a0bcc8477d9a7b5c71.tar.xz |
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>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r-- | builtin/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c index 034fec92a..be6fa77d0 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -62,7 +62,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix) OPT__VERBOSE(&verbose, N_("be verbose")), OPT__DRY_RUN(&show_only, N_("dry run")), OPT__FORCE(&force, N_("force move/rename even if target exists")), - OPT_BOOLEAN('k', NULL, &ignore_errors, N_("skip move/rename errors")), + OPT_BOOL('k', NULL, &ignore_errors, N_("skip move/rename errors")), OPT_END(), }; const char **source, **destination, **dest_path; |