Skip to content

Commit 06f39cb

Browse files
committed
--version is a mode not a flag; add --help
1 parent 928fcc7 commit 06f39cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/cli/src/help.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ examples:
2323
$ pkgx +openssl cargo build
2424
2525
modes:
26-
$ pkgx -Q bun # could you run `bun`? (--query)
26+
$ pkgx --query bun # could you run `bun`? (-Q)
27+
$ pkgx --help # hi mom!
28+
$ pkgx --version
2729
2830
flags:
2931
-q, --quiet # suppress brief informational messages
3032
-qq, --silent # no chat. no errors. just execute.
31-
-v, --version
33+
-v # print version and continue
3234
3335
more:
3436
$ OPEN https://docs.pkgx.sh

0 commit comments

Comments
 (0)