File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ $ node --completion-bash > node_bash_completion
81
81
$ source node_bash_completion
82
82
```
83
83
84
- ### ` -u ` , ` - -conditions=condition`
84
+ ### ` --conditions=condition `
85
85
<!-- YAML
86
86
added: REPLACEME
87
87
-->
@@ -1181,7 +1181,7 @@ node --require "./a.js" --require "./b.js"
1181
1181
1182
1182
Node.js options that are allowed are:
1183
1183
<!-- node-options-node start -->
1184
- * ` --conditions ` , ` -u `
1184
+ * ` --conditions `
1185
1185
* ` --diagnostic-dir `
1186
1186
* ` --disable-proto `
1187
1187
* ` --enable-fips `
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ Aborting instead of exiting causes a core file to be generated for analysis.
78
78
.It Fl -completion-bash
79
79
Print source-able bash completion script for Node.js.
80
80
.
81
- .It Fl u , Fl -conditions Ar string
81
+ .It Fl -conditions Ar string
82
82
Use custom conditional exports conditions
83
83
.Ar string
84
84
.
Original file line number Diff line number Diff line change @@ -287,7 +287,6 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
287
287
" additional user conditions for conditional exports and imports" ,
288
288
&EnvironmentOptions::conditions,
289
289
kAllowedInEnvironment );
290
- AddAlias (" -u" , " --conditions" );
291
290
AddOption (" --diagnostic-dir" ,
292
291
" set dir for all output files"
293
292
" (default: current working directory)" ,
Original file line number Diff line number Diff line change 1
- // Flags: --conditions=custom-condition -u another
1
+ // Flags: --conditions=custom-condition --conditions another
2
2
import { mustCall } from '../common/index.mjs' ;
3
3
import { strictEqual } from 'assert' ;
4
4
import { requireFixture , importFixture } from '../fixtures/pkgexports.mjs' ;
You can’t perform that action at this time.
0 commit comments