W dniu 11.10.2016 o 18:09, Johannes Schindelin pisze:

>  SYNOPSIS
>  --------
>  [verse]
> -'git reset' [-q] [<tree-ish>] [--] <paths>...
> +'git reset' [-q] [--stdin [-z]] [<tree-ish>] [--] <paths>...

I think you meant here

  +'git reset' [-q] [--stdin [-z]] [<tree-ish>]

Because you say "*Instead*" below.

> +--stdin::
> +     Instead of taking list of paths from the command line,
> +     read list of paths from the standard input.  Paths are
> +     separated by LF (i.e. one path per line) by default.

And die if <paths> were supplied:

> +             if (pathspec.nr)
> +                     die(_("--stdin is incompatible with path arguments"));

Of course you need to fix it in built-in synopsis as well:

> +     N_("git reset [-q] [--stdin [-z]] [<tree-ish>] [--] <paths>..."),
>       N_("git reset --patch [<tree-ish>] [--] [<paths>...]"),

-- 
Jakub Narębski

Reply via email to