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

Re: [PATCH] standardize usage strings that were missed the first time

From
Junio C Hamano <gitster@pobox.com>
Date
May 3, 2015, 17:18 UTC
Message-ID
<xmqq383dwpf4.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1430536341-21847-1-git-send-email-alexhenrie24@gmail.com>
Alex Henrie <alexhenrie24@gmail.com> writes:
> This is a follow-up to commit 9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b.
Please do not force the reader to type "git show 9c9b4f2".
Show 33 quoted lines
>
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  builtin/blame.c | 2 +-
>  builtin/log.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/builtin/blame.c b/builtin/blame.c
> index 06484c2..0b2f4ed 100644
> --- a/builtin/blame.c
> +++ b/builtin/blame.c
> @@ -27,7 +27,7 @@
>  #include "line-range.h"
>  #include "line-log.h"
>  
> -static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] file");
> +static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
>  
>  static const char *blame_opt_usage[] = {
>  	blame_usage,
> diff --git a/builtin/log.c b/builtin/log.c
> index dd8f3fc..4c4e6be 100644
> --- a/builtin/log.c
> +++ b/builtin/log.c
> @@ -38,7 +38,7 @@ static const char *fmt_patch_subject_prefix = "PATCH";
>  static const char *fmt_pretty;
>  
>  static const char * const builtin_log_usage[] = {
> -	N_("git log [<options>] [<revision range>] [[--] <path>...]"),
> +	N_("git log [<options>] [<revision-range>] [[--] <path>...]"),
>  	N_("git show [<options>] <object>..."),
>  	NULL
>  };
Previous: Alex HenrieNext: Junio C Hamano
Message 2 of 5 in “standardize usage strings that were missed the first time”
  1. standardize usage strings that were missed the first timeAlex Henrie, May 2, 2015
  2. Junio C HamanoMay 3, 2015
  3. Junio C HamanoMay 3, 2015
  4. Alex HenrieMay 4, 2015
  5. Junio C HamanoMay 4, 2015

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.