@matheusbsbs / matheus-bagliano / commits / 4551d05fe4
Fork 0

Removing -n option from git-diff-files documentation

-n is not a short form of --no-index as the documentation suggests. Removing it from the documentation and command usage string. Signed-off-by: Andrew Ruder <andy@aeruder.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Andrew Ruder committed Apr 26, 2007 at 23:58 UTC 4551d05fe44c6d87ff8a24cfba7a79bba0179d5e
2 files changed +3 -3
Documentation/git-diff-files.txt
+2 -2
@@ -8,7 +8,7 @@ git-diff-files - Compares files in the working tree and the index
8
9 SYNOPSIS
10 --------
11 -'git-diff-files' [-q] [-0|-1|-2|-3|-c|--cc|-n|--no-index] [<common diff options>] [<path>...]
11 +'git-diff-files' [-q] [-0|-1|-2|-3|-c|--cc|--no-index] [<common diff options>] [<path>...]
12
13 DESCRIPTION
14 -----------
@@ -36,7 +36,7 @@ omit diff output for unmerged entries and just show "Unmerged".
36 diff, similar to the way 'diff-tree' shows a merge
37 commit with these flags.
38
39 -\-n,\--no-index::
39 +--no-index::
40 Compare the two given files / directories.
41
42 -q::
builtin-diff-files.c
+1 -1
@@ -10,7 +10,7 @@
10 #include "builtin.h"
11
12 static const char diff_files_usage[] =
13 -"git-diff-files [-q] [-0/-1/2/3 |-c|--cc|-n|--no-index] [<common diff options>] [<path>...]"
13 +"git-diff-files [-q] [-0/-1/2/3 |-c|--cc|--no-index] [<common diff options>] [<path>...]"
14 COMMON_DIFF_OPTIONS_HELP;
15
16 int cmd_diff_files(int argc, const char **argv, const char *prefix)