Merge branch 'jc/show-index-h-update'

Doc and short-help text for "show-index" has been clarified to
stress that the command reads its data from the standard input.

* jc/show-index-h-update:
  show-index: the short help should say the command reads from its input
This commit is contained in:
Junio C Hamano
2025-01-31 09:44:16 -08:00
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ git-show-index - Show packed archive index
SYNOPSIS
--------
[verse]
'git show-index' [--object-format=<hash-algorithm>]
'git show-index' [--object-format=<hash-algorithm>] < <pack-idx-file>
DESCRIPTION

View File

@ -9,7 +9,7 @@
#include "parse-options.h"
static const char *const show_index_usage[] = {
"git show-index [--object-format=<hash-algorithm>]",
"git show-index [--object-format=<hash-algorithm>] < <pack-idx-file>",
NULL
};