]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-name-rev.txt
Documentation: be consistent about "git-" versus "git "
[thirdparty/git.git] / Documentation / git-name-rev.txt
index 306e1a4956eb72892729a3283c29ee6355da2c22..b2d40a7e70d3bbc68edb2676746fbf83b8a67de0 100644 (file)
@@ -9,7 +9,7 @@ git-name-rev - Find symbolic names for given revs
 SYNOPSIS
 --------
 [verse]
-'git-name-rev' [--tags] [--refs=<pattern>]
+'git name-rev' [--tags] [--refs=<pattern>]
               ( --all | --stdin | <committish>... )
 
 DESCRIPTION
@@ -38,9 +38,16 @@ OPTIONS
        Instead of printing both the SHA-1 and the name, print only
        the name.  If given with --tags the usual tag prefix of
        "tags/" is also omitted from the name, matching the output
-       of gitlink::git-describe[1] more closely.  This option
+       of linkgit:git-describe[1] more closely.  This option
        cannot be combined with --stdin.
 
+--no-undefined::
+       Die with error code != 0 when a reference is undefined,
+       instead of printing `undefined`.
+
+--always::
+       Show uniquely abbreviated commit object as fallback.
+
 EXAMPLE
 -------
 
@@ -75,4 +82,4 @@ Documentation by Johannes Schindelin.
 
 GIT
 ---
-Part of the gitlink:git[7] suite
+Part of the linkgit:git[1] suite