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

[PATCH 2/2] reflog: remove 'show' from 'expire's usage string

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Apr 19, 2010, 09:52 UTC
Message-ID
<1271670750-30297-2-git-send-email-szeder@ira.uka.de>
In-Reply-To
<1271670750-30297-1-git-send-email-szeder@ira.uka.de>

Most of 'expire's options are not recognized by the 'show' subcommand, hence it errors out.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 builtin/reflog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin/reflog.c b/builtin/reflog.c
index d4d4409..fe8b36d 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -13,7 +13,7 @@
  */
 
 static const char reflog_expire_usage[] =
-"git reflog (show|expire) [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...";
+"git reflog expire [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...";
 static const char reflog_delete_usage[] =
 "git reflog delete [--verbose] [--dry-run] [--rewrite] [--updateref] <refs>...";
 
-- 
1.7.1.rc1.43.gf0841
Previous: SZEDER GáborNext: Junio C Hamano
Message 2 of 6 in “reflog: make the 'show' subcommand really the default”
  1. 1/2 reflog: make the 'show' subcommand really the defaultSZEDER Gábor, Apr 19, 2010
  2. 2/2 reflog: remove 'show' from 'expire's usage stringSZEDER Gábor, Apr 19, 2010
  3. Junio C HamanoApr 20, 2010
  4. Jeff KingApr 20, 2010
  5. SZEDER GáborApr 22, 2010
  6. Jeff KingApr 22, 2010

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.