@oclif/core 3.26.1 → 3.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ class Parser {
113
113
  }
114
114
  this.currentFlag = flag;
115
115
  let input = isLong || arg.length < 3 ? this.argv.shift() : arg.slice(arg[2] === '=' ? 3 : 2);
116
- if (flag.allowStdin === 'only' && input !== '-' && input !== undefined) {
116
+ if (flag.allowStdin === 'only' && input !== '-' && input !== undefined && !this.findFlag(input).name) {
117
117
  throw new errors_1.CLIError(`Flag --${name} can only be read from stdin. The value must be "-" or not provided at all.`);
118
118
  }
119
119
  if ((flag.allowStdin && input === '-') || flag.allowStdin === 'only') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "3.26.1",
4
+ "version": "3.26.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {
@@ -14,7 +14,7 @@
14
14
  "cli-progress": "^3.12.0",
15
15
  "color": "^4.2.3",
16
16
  "debug": "^4.3.4",
17
- "ejs": "^3.1.9",
17
+ "ejs": "^3.1.10",
18
18
  "get-package-type": "^0.1.0",
19
19
  "globby": "^11.1.0",
20
20
  "hyperlinker": "^1.0.0",