Skip to content

Commit a4ccc7f

Browse files
committed
adjust journey-test expectations to match clap 4.1
1 parent 3c4e0b4 commit a4ccc7f

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
error: Found argument 'receive' which wasn't expected, or isn't valid in this context
1+
error: unrecognized subcommand 'receive'
22

3-
USAGE:
4-
gix free pack <SUBCOMMAND>
3+
Usage: gix free pack <COMMAND>
54

6-
For more information try --help
5+
For more information, try '--help'.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
error: Found argument 'remote' which wasn't expected, or isn't valid in this context
1+
error: unrecognized subcommand 'remote'
22

3-
USAGE:
4-
gix [OPTIONS] <SUBCOMMAND>
3+
Usage: gix [OPTIONS] <COMMAND>
54

6-
For more information try --help
5+
For more information, try '--help'.

Diff for: tests/snapshots/porcelain/tool/no-args-failure

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
error: 'ein tool' requires a subcommand but one was not provided
1+
A selection of useful tools
22

3-
USAGE:
4-
ein tool <SUBCOMMAND>
3+
Usage: ein tool <COMMAND>
54

6-
For more information try --help
5+
Commands:
6+
find Find all repositories in a given directory
7+
organize Move all repositories found in a directory into a structure matching their clone URLs
8+
estimate-hours Estimate hours worked based on a commit history [aliases: h, hours]
9+
help Print this message or the help of the given subcommand(s)
10+
11+
Options:
12+
-h, --help Print help

0 commit comments

Comments
 (0)