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>
This commit is contained in:
committed by
Junio C Hamano
parent
be9819c871
commit
8d34d3379f
@@ -9,15 +9,13 @@ git-mv - Move or rename a file, a directory, or a symlink
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git mv' [<options>] <source>... <destination>
|
'git mv' [-v] [-f] [-n] [-k] <source> <destination>
|
||||||
|
'git mv' [-v] [-f] [-n] [-k] <source> ... <destination-directory>
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
Move or rename a file, directory, or symlink.
|
Move or rename a file, directory, or symlink.
|
||||||
|
|
||||||
git mv [-v] [-f] [-n] [-k] <source> <destination>
|
|
||||||
git mv [-v] [-f] [-n] [-k] <source> ... <destination-directory>
|
|
||||||
|
|
||||||
In the first form, it renames <source>, which must exist and be either
|
In the first form, it renames <source>, which must exist and be either
|
||||||
a file, symlink or directory, to <destination>.
|
a file, symlink or directory, to <destination>.
|
||||||
In the second form, the last argument has to be an existing
|
In the second form, the last argument has to be an existing
|
||||||
|
|||||||
@@ -28,7 +28,8 @@
|
|||||||
#include "entry.h"
|
#include "entry.h"
|
||||||
|
|
||||||
static const char * const builtin_mv_usage[] = {
|
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
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user