git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] Remove '< >' from [<options>] since it's not necessary.

From
Thiago Farina <tfransosi@gmail.com>
Date
Sep 21, 2009, 18:12 UTC
Message-ID
<1253556768-4762-1-git-send-email-tfransosi@gmail.com>
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
---
 Documentation/git-log.txt   |    2 +-
 Documentation/git-stash.txt |    4 ++--
 builtin-log.c               |    2 +-
 git-stash.sh                |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 3d79de1..985ffab 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -8,7 +8,7 @@ git-log - Show commit logs
 
 SYNOPSIS
 --------
-'git log' [<options>] [<since>..<until>] [[\--] <path>...]
+'git log' [options] [<since>..<until>] [[\--] <path>...]
 
 DESCRIPTION
 -----------
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index 3f14b72..8a6d85c 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -8,7 +8,7 @@ git-stash - Stash the changes in a dirty working directory away
 SYNOPSIS
 --------
 [verse]
-'git stash' list [<options>]
+'git stash' list [options]
 'git stash' show [<stash>]
 'git stash' drop [-q|--quiet] [<stash>]
 'git stash' ( pop | apply ) [--index] [-q|--quiet] [<stash>]
@@ -64,7 +64,7 @@ from your worktree.
 The `--patch` option implies `--keep-index`.  You can use
 `--no-keep-index` to override this.
 
-list [<options>]::
+list [options]::
 
 	List the stashes that you currently have.  Each 'stash' is listed
 	with its name (e.g. `stash@\{0}` is the latest stash, `stash@\{1}` is
diff --git a/builtin-log.c b/builtin-log.c
index 25e21ed..1685546 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -28,7 +28,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
 static const char *fmt_pretty;
 
 static const char * const builtin_log_usage =
-	"git log [<options>] [<since>..<until>] [[--] <path>...]\n"
+	"git log [options] [<since>..<until>] [[--] <path>...]\n"
 	"   or: git show [options] <object>...";
 
 static void cmd_log_init(int argc, const char **argv, const char *prefix,
diff --git a/git-stash.sh b/git-stash.sh
index 4febbbf..e5ab34a 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -2,7 +2,7 @@
 # Copyright (c) 2007, Nanako Shiraishi
 
 dashless=$(basename "$0" | sed -e 's/-/ /')
-USAGE="list [<options>]
+USAGE="list [options]
    or: $dashless show [<stash>]
    or: $dashless drop [-q|--quiet] [<stash>]
    or: $dashless ( pop | apply ) [--index] [-q|--quiet] [<stash>]
-- 
1.6.5.rc1.37.gf5c31.dirty
Message 1 of 1 in “Remove '< >' from [<options>] since it's not necessary.”
  1. Remove '< >' from [<options>] since it's not necessary.Thiago Farina, Sep 21, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.