Skip to content

Commit 580b7d3

Browse files
szedergitster
authored andcommitted
reflog: remove 'show' from 'expire's usage string
Most of 'expire's options are not recognized by the 'show' subcommand, hence it errors out. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8165952 commit 580b7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-reflog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
static const char reflog_expire_usage[] =
16-
"git reflog (show|expire) [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...";
16+
"git reflog expire [--verbose] [--dry-run] [--stale-fix] [--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...";
1717
static const char reflog_delete_usage[] =
1818
"git reflog delete [--verbose] [--dry-run] [--rewrite] [--updateref] <refs>...";
1919

0 commit comments

Comments
 (0)