fix(pack): fix the help text

This commit is contained in:
Zoltan Kochan
2021-07-25 02:18:35 +03:00
parent 11f9c381f0
commit f9152ab3c3
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-publishing": patch
---
Fix the help description of the pack command.

View File

@@ -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 <dir>',
},
],
},