Skip to content

Commit a647fb1

Browse files
committed
adding _ to COMMIT_ID arg name
1 parent 495c456 commit a647fb1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/rush-lib/src/cli/actions/PublishAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class PublishAction extends BaseRushAction {
190190
this._commitId = this.defineStringParameter({
191191
parameterLongName: '--commit',
192192
parameterShortName: '-c',
193-
argumentName: 'COMMITID',
193+
argumentName: 'COMMIT_ID',
194194
description: `Used in conjunction with git tagging -- apply git tags at the commit hash` +
195195
` specified. If not provided, the current HEAD will be tagged.`
196196
});

apps/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ exports[`CommandLineHelp prints the help for each action: publish 1`] = `
375375
[--release-folder FOLDER] [--include-all]
376376
[--version-policy POLICY] [--prerelease-name NAME]
377377
[--partial-prerelease] [--suffix SUFFIX] [--force]
378-
[--apply-git-tags-on-pack] [-c COMMITID]
378+
[--apply-git-tags-on-pack] [-c COMMIT_ID]
379379
380380
381381
Reads and processes package publishing change requests generated by \\"rush
@@ -449,10 +449,10 @@ Optional arguments:
449449
If specified with --publish and --pack, git tags will
450450
be applied for packages as if a publish was being run
451451
without --pack.
452-
-c COMMITID, --commit COMMITID
452+
-c COMMIT_ID, --commit COMMIT_ID
453453
Used in conjunction with git tagging -- apply git
454-
tags at the commit hash specified. If not passed, the
455-
current HEAD will be tagged.
454+
tags at the commit hash specified. If not provided,
455+
the current HEAD will be tagged.
456456
"
457457
`;
458458

0 commit comments

Comments
 (0)