fix: add global option in pnpm link --help (#5461)

Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
chlorineandZoltan Kochan authored and GitHub committed 2022-10-09 16:17:33 +03:00
1 parent e072256518
commit 3277188eba
2 files changed
+13 -2

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
"@pnpm/plugin-commands-installation": patch
"pnpm": patch
---
Add global option in `pnpm link --help` [#5461](https://github.com/pnpm/pnpm/pull/5461).
@@ -64,14 +64,19 @@ export function help () {
list: [
...UNIVERSAL_OPTIONS,
{
description: 'Link package to/from global node_modules',
name: '--global',
shortAlias: '-g',
},
],
},
],
url: docsUrl('link'),
usages: [
'pnpm link (in package dir)',
'pnpm link <pkg>',
'pnpm link <dir>',
'pnpm link --global (in package dir)',
'pnpm link --global <pkg>',
],
})
}