Skip to content

Commit

Permalink
Typo: remove duplicated --dry-run in --help
Browse files Browse the repository at this point in the history
The current verbose help has this list of flags:

```
      flags:
...
        --dry-run,-n             don’t do anything, just print
...
        --dry-run,-n             don’t execute, just print
```

Which has the `--dry-run` flag duplicated. This commit removes the second instance. Since the wording was slightly different for each of the instances, I kept the wording and the ordering as is used for the "less verbose" version of `--help`, which looks like:

```
flags:
  --sync,-S       sync and update environment packages
  --env,-E        inject local environment
  --dry-run,-n    don’t do anything, just print
```
  • Loading branch information
beyarkay authored and mxcl committed May 26, 2023
1 parent 9037e1d commit 654ba20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app.help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default async function help(verbosity = Verbosity.normal) {
--silent,-s no chat, no errors: only output the requested data
--cd,-C,--chdir <dir> change directory first
--chaste abstain from networking, installing packages, etc.
--dry-run,-n don’t execute, just print
• repetitions override previous values
• long form boolean flags can be assigned, eg. --env=no
Expand Down

0 comments on commit 654ba20

Please sign in to comment.