Skip to content

Commit 10a5951

Browse files
Merge pull request #52 from rohieb/help-commands
improve command syntax in help text
2 parents 1a9792e + cff42f7 commit 10a5951

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

umpf

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -190,28 +190,31 @@ usage() {
190190
-l, --local use local branches, alias for --remote refs/heads
191191
--override <topic>[=<commit-ish>]
192192
use commit-ish instead for the topic. May be
193-
specified more than once. If only <topic> is
194-
specified, it's interpreted as
195-
<topic>=[<remote>/]<topic>
193+
specified more than once. If only <topic> is
194+
specified, it's interpreted as
195+
<topic>=[<remote>/]<topic>
196196
-u, --update with --patchdir: update existing patches in <path>
197197
-v, --version <version> with tag: overwrite version number [default: 1]
198198
199199
Commands:
200-
diff <commit-ish> show patches not in any topic branch (not
200+
If optional <umpf> or <commit-ish> arguments are unspecified, HEAD is used.
201+
202+
diff [<umpf>|<commit-ish>] show patches not in any topic branch (not
201203
upstream) and patches missing locally
202-
show <commit-ish> show an useries file from an umpf
203-
tig [umpf] browse an umpf interactively, showing state of
204+
show [<umpf>|<commit-ish>] show an useries file from an umpf
205+
tig [<umpf>] browse an umpf interactively, showing state of
204206
local, remote and remote-tracking topic branches
205207
206-
tag <commit-ish> generate a utag from an umerge
207-
format-patch <utag> generate a useries file and patch stack
208+
tag [<umpf>|<commit-ish>] generate a utag from a useries or umerge
209+
or commits stacked on top of an umpf
210+
format-patch [<utag>] generate a useries file and patch stack
208211
from a utag
209212
210-
merge <commit-ish> [<name>]merge one a topic branches into current
211-
head, like git merge, but umpf compatible
213+
merge <commit-ish> [<name>]merge one topic branches into current
214+
head, like git merge, but umpf compatible.
212215
Use <name> as topic name if specified.
213216
Otherwise <commit-ish> must be the correct
214-
topic name. The remote is removed if necessary
217+
topic name. The remote is removed if necessary.
215218
build <umpf> build an umerge from another umpf
216219
distribute <commit-ish> push patches not yet in any topic branch
217220
upstream

0 commit comments

Comments
 (0)