Skip to content

Commit

Permalink
adjust journey-test expectations to match clap 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jan 15, 2023
1 parent 3c4e0b4 commit a4ccc7f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
error: Found argument 'receive' which wasn't expected, or isn't valid in this context
error: unrecognized subcommand 'receive'

USAGE:
gix free pack <SUBCOMMAND>
Usage: gix free pack <COMMAND>

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

USAGE:
gix [OPTIONS] <SUBCOMMAND>
Usage: gix [OPTIONS] <COMMAND>

For more information try --help
For more information, try '--help'.
14 changes: 10 additions & 4 deletions tests/snapshots/porcelain/tool/no-args-failure
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
error: 'ein tool' requires a subcommand but one was not provided
A selection of useful tools

USAGE:
ein tool <SUBCOMMAND>
Usage: ein tool <COMMAND>

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

Options:
-h, --help Print help

0 comments on commit a4ccc7f

Please sign in to comment.