Re: [PATCH] git-stash: improve synopsis in help and manual page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephan Beyer <s-beyer@xxxxxxx> writes:

>    btw, should the "create" command be used directly at all?
>    Then a line for this should perhaps be added.

It's pretty much for Porcelain writer's consumption, so I do not think
it is worth adding it to command line help, even though it would be nice
to describe it in the documentation.

> +dashless=$(basename "$0" | sed -e 's/-/ /')
> +USAGE="list [<options>]
> +   or: $dashless (show | drop | pop ) [<stash>]
> +   or: $dashless [--index] apply [<stash>]
> +   or: $dashless branch <branchname> [<stash>]
> +   or: $dashless [--keep-index] [save [<message>]]
> +   or: $dashless clear"

These --index and --keep-index are subcommand options and come after
them (i.e. apply/save).
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux