Skip to content

Commit 280817a

Browse files
committed
fix: add --before param to command help output
1 parent 6e47325 commit 280817a

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

lib/commands/install.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class Install extends ArboristWorkspaceCmd {
2929
'foreground-scripts',
3030
'ignore-scripts',
3131
'audit',
32+
'before',
3233
'bin-links',
3334
'fund',
3435
'dry-run',

lib/commands/outdated.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class Outdated extends ArboristWorkspaceCmd {
3030
'parseable',
3131
'global',
3232
'workspace',
33+
'before',
3334
]
3435

3536
#tree

lib/commands/update.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Update extends ArboristWorkspaceCmd {
2020
'foreground-scripts',
2121
'ignore-scripts',
2222
'audit',
23+
'before',
2324
'bin-links',
2425
'fund',
2526
'dry-run',

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3302,8 +3302,9 @@ Options:
33023302
[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
33033303
[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
33043304
[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only]
3305-
[--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links]
3306-
[--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>] [--libc <libc>]
3305+
[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <before>]
3306+
[--no-bin-links] [--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>]
3307+
[--libc <libc>]
33073308
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
33083309
[--workspaces] [--include-workspace-root] [--install-links]
33093310
@@ -3332,6 +3333,7 @@ aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall
33323333
#### \`foreground-scripts\`
33333334
#### \`ignore-scripts\`
33343335
#### \`audit\`
3336+
#### \`before\`
33353337
#### \`bin-links\`
33363338
#### \`fund\`
33373339
#### \`dry-run\`
@@ -3400,8 +3402,9 @@ Options:
34003402
[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
34013403
[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
34023404
[--strict-peer-deps] [--prefer-dedupe] [--no-package-lock] [--package-lock-only]
3403-
[--foreground-scripts] [--ignore-scripts] [--no-audit] [--no-bin-links]
3404-
[--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>] [--libc <libc>]
3405+
[--foreground-scripts] [--ignore-scripts] [--no-audit] [--before <before>]
3406+
[--no-bin-links] [--no-fund] [--dry-run] [--cpu <cpu>] [--os <os>]
3407+
[--libc <libc>]
34053408
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
34063409
[--workspaces] [--include-workspace-root] [--install-links]
34073410
@@ -3430,6 +3433,7 @@ alias: it
34303433
#### \`foreground-scripts\`
34313434
#### \`ignore-scripts\`
34323435
#### \`audit\`
3436+
#### \`before\`
34333437
#### \`bin-links\`
34343438
#### \`fund\`
34353439
#### \`dry-run\`
@@ -3676,6 +3680,7 @@ npm outdated [<package-spec> ...]
36763680
Options:
36773681
[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global]
36783682
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
3683+
[--before <before>]
36793684
36803685
Run "npm help outdated" for more info
36813686
@@ -3689,6 +3694,7 @@ npm outdated [<package-spec> ...]
36893694
#### \`parseable\`
36903695
#### \`global\`
36913696
#### \`workspace\`
3697+
#### \`before\`
36923698
`
36933699

36943700
exports[`test/lib/docs.js TAP usage owner > must match snapshot 1`] = `
@@ -4434,7 +4440,8 @@ Options:
44344440
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
44354441
[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
44364442
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
4437-
[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
4443+
[--ignore-scripts] [--no-audit] [--before <before>] [--no-bin-links] [--no-fund]
4444+
[--dry-run]
44384445
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
44394446
[--workspaces] [--include-workspace-root] [--install-links]
44404447
@@ -4460,6 +4467,7 @@ aliases: up, upgrade, udpate
44604467
#### \`foreground-scripts\`
44614468
#### \`ignore-scripts\`
44624469
#### \`audit\`
4470+
#### \`before\`
44634471
#### \`bin-links\`
44644472
#### \`fund\`
44654473
#### \`dry-run\`

0 commit comments

Comments
 (0)