aboutsummaryrefslogtreecommitdiff
path: root/builtin/mv.c
diff options
context:
space:
mode:
authorJean-Noël Avila <jn.avila@free.fr>2025-04-12 12:20:47 +0000
committerJunio C Hamano <gitster@pobox.com>2025-04-14 14:43:52 -0700
commit8d34d3379f2946a4a2fc95802a39ea3be8a55e71 (patch)
treeeb855c09b3d90f944017b68c3a0bc27f80d47277 /builtin/mv.c
parentbe9819c87172265f244ebb91dfef1526d5293971 (diff)
downloadgit-8d34d3379f2946a4a2fc95802a39ea3be8a55e71.tar.xz
doc: move synopsis git-mv commands in the synopsis section
This also entails changing the help output for the command to match the new synopsis. Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r--builtin/mv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c
index 55a7d471dc..9e36b616ab 100644
--- a/builtin/mv.c
+++ b/builtin/mv.c
@@ -28,7 +28,8 @@
#include "entry.h"
static const char * const builtin_mv_usage[] = {
- N_("git mv [<options>] <source>... <destination>"),
+ N_("git mv [-v] [-f] [-n] [-k] <source> <destination>"),
+ N_("git mv [-v] [-f] [-n] [-k] <source> ... <destination-directory>"),
NULL
};