Skip to content

Commit

Permalink
Fix help smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
wduminy authored and regexident committed Nov 24, 2024
1 parent c131712 commit 7ba7eaa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/snapshots/general__help__smoke.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ Commands:
help Print this message or the help of the given subcommand(s)

Options:
-h, --help Print help
-h, --help Print help
-V, --version Print version
25 changes: 25 additions & 0 deletions tests/snapshots/general__help__smoke.snap.new
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
source: tests/general.rs
assertion_line: 5
expression: output
snapshot_kind: text
---
COMMAND:
--help

STDERR:

STDOUT:
Visualize/analyze a crate's internal structure.

Usage: cargo-modules <COMMAND>

Commands:
structure Prints a crate's hierarchical structure as a tree.
dependencies Prints a crate's internal dependencies as a graph.
orphans Detects unlinked source files within a crate's directory.
help Print this message or the help of the given subcommand(s)

Options:
-h, --help Print help
-V, --version Print version

0 comments on commit 7ba7eaa

Please sign in to comment.