Skip to content

Commit

Permalink
Merge pull request #3583 from microsoft/octogonz/rush-add-help
Browse files Browse the repository at this point in the history
[rush] Small correction for "rush add" CLI help
octogonz authored Aug 12, 2022
2 parents cd64d95 + d4911de commit 0a38e48
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Update CLI docs for \"rush add\"",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
2 changes: 1 addition & 1 deletion libraries/rush-lib/src/cli/actions/AddAction.ts
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ export class AddAction extends BaseRushAction {
required: true,
argumentName: 'PACKAGE',
description:
'(Required) The name of the package which should be added as a dependency.' +
'The name of the package which should be added as a dependency.' +
' A SemVer version specifier can be appended after an "@" sign. WARNING: Symbol characters' +
" are usually interpreted by your shell, so it's recommended to use quotes." +
' For example, write "rush add --package "example@^1.2.3"" instead of "rush add --package example@^1.2.3".' +
Original file line number Diff line number Diff line change
@@ -87,9 +87,9 @@ packages with the dependency.
Optional arguments:
-h, --help Show this help message and exit.
-p PACKAGE, --package PACKAGE
(Required) The name of the package which should be
added as a dependency. A SemVer version specifier can
be appended after an \\"@\\" sign. WARNING: Symbol
The name of the package which should be added as a
dependency. A SemVer version specifier can be
appended after an \\"@\\" sign. WARNING: Symbol
characters are usually interpreted by your shell, so
it's recommended to use quotes. For example, write
\\"rush add --package \\"example@^1.2.3\\"\\" instead of

0 comments on commit 0a38e48

Please sign in to comment.