X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=builtin%2Fmv.c;h=93e8995d9e704faa041f97f92ba72dabe7839d81;hb=f73c3e9704b80c8813b92392cced9328f81e91d6;hp=cdbb09473c0c45efff23a63e78b7623cad523350;hpb=06cfa8a8589740b9dd4820ad1c2eff4b3d968de7;p=git.git diff --git a/builtin/mv.c b/builtin/mv.c index cdbb09473..93e8995d9 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -55,8 +55,8 @@ int cmd_mv(int argc, const char **argv, const char *prefix) int i, newfd; int verbose = 0, show_only = 0, force = 0, ignore_errors = 0; struct option builtin_mv_options[] = { - OPT__DRY_RUN(&show_only), - OPT_BOOLEAN('f', "force", &force, "force move/rename even if target exists"), + OPT__DRY_RUN(&show_only, "dry run"), + OPT__FORCE(&force, "force move/rename even if target exists"), OPT_BOOLEAN('k', NULL, &ignore_errors, "skip move/rename errors"), OPT_END(), };