mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-24 15:48:06 -05:00
fix: add global option in pnpm link --help (#5461)
Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
6
.changeset/famous-rocks-yawn.md
Normal file
6
.changeset/famous-rocks-yawn.md
Normal 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>',
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user