Git fork

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>

authored by

Jean-Noël Avila and committed by
Junio C Hamano
8d34d337 be9819c8

+4 -5
+2 -4
Documentation/git-mv.adoc
··· 9 9 SYNOPSIS 10 10 -------- 11 11 [verse] 12 - 'git mv' [<options>] <source>... <destination> 12 + 'git mv' [-v] [-f] [-n] [-k] <source> <destination> 13 + 'git mv' [-v] [-f] [-n] [-k] <source> ... <destination-directory> 13 14 14 15 DESCRIPTION 15 16 ----------- 16 17 Move or rename a file, directory, or symlink. 17 - 18 - git mv [-v] [-f] [-n] [-k] <source> <destination> 19 - git mv [-v] [-f] [-n] [-k] <source> ... <destination-directory> 20 18 21 19 In the first form, it renames <source>, which must exist and be either 22 20 a file, symlink or directory, to <destination>.
+2 -1
builtin/mv.c
··· 28 28 #include "entry.h" 29 29 30 30 static const char * const builtin_mv_usage[] = { 31 - N_("git mv [<options>] <source>... <destination>"), 31 + N_("git mv [-v] [-f] [-n] [-k] <source> <destination>"), 32 + N_("git mv [-v] [-f] [-n] [-k] <source> ... <destination-directory>"), 32 33 NULL 33 34 }; 34 35