]> source.dussan.org Git - jgit.git/commit
reset command: provide convenient and meaningful options help 31/63331/4
authorAndrey Loskutov <loskutov@gmx.de>
Mon, 28 Dec 2015 20:59:01 +0000 (21:59 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Tue, 29 Dec 2015 14:00:17 +0000 (15:00 +0100)
commit97b4c02cdaa3a62764a7407e1cab1b16d984d9de
treef88bb776bf38d9c347ee3229d62be23aa9dde443
parent0505657d6a7dd4575a64ddfb5c0928870fe5843b
reset command: provide convenient and meaningful options help

This commit changes the jgit "reset" command line options help from
this:

jgit reset name [VAL ...] [-- path ... ...] [--hard] [--help (-h)]
[--mixed] [--soft]
 name        : Reset current HEAD to the specified state
 [...]

to this:

jgit reset [commit-ish] [path ... ...] [-- path ... ...] [--hard]
[--help (-h)] [--mixed] [--soft]
 commit-ish  : Reset to given reference name
 [...]

Bug: 484951
Change-Id: I614e71101b4f9f46ef8f02379d1a9d135f3292d2
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/ResetTest.java
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Reset.java