From f9152ab3c3f901699e636f67725c3938ac09175b Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sun, 25 Jul 2021 02:18:35 +0300 Subject: [PATCH] fix(pack): fix the help text --- .changeset/rare-ants-sell.md | 5 +++++ packages/plugin-commands-publishing/src/pack.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/rare-ants-sell.md diff --git a/.changeset/rare-ants-sell.md b/.changeset/rare-ants-sell.md new file mode 100644 index 0000000000..370259b0d7 --- /dev/null +++ b/.changeset/rare-ants-sell.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-publishing": patch +--- + +Fix the help description of the pack command. diff --git a/packages/plugin-commands-publishing/src/pack.ts b/packages/plugin-commands-publishing/src/pack.ts index f4df3f4a8d..4c7337626c 100644 --- a/packages/plugin-commands-publishing/src/pack.ts +++ b/packages/plugin-commands-publishing/src/pack.ts @@ -37,7 +37,7 @@ export const commandNames = ['pack'] export function help () { return renderHelp({ - description: 'Creates a compressed gzip archive of package dependencies.', + description: 'Create a tarball from a package', usages: ['pnpm pack'], descriptionLists: [ { @@ -46,7 +46,7 @@ export function help () { list: [ { description: 'Directory in which `pnpm pack` will save tarballs. The default is the current working directory.', - name: 'pack-destination', + name: '--pack-destination ', }, ], },