You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we use this feature combined with using ... to optionally accept a list, throws an error Unknow argument, for instance in ipfs/js-ipfs/src/cli/commands/pin/ls.js#L7
In order to fix this, we have to set a dash-case option. This seems a bug with yargs-parser, as if it inferres other alias, it should be transparent to the users.
The text was updated successfully, but these errors were encountered:
bcoe
transferred this issue from yargs/yargs-parser
Nov 19, 2018
After yargs/yargs-parser/commit/08c011796f83e84fe50ffb066a87ae2effadfc75 got merged, commands using camelCase parameters were automatically inferred to have a dash case alias.
When we use this feature combined with using
...
to optionally accept a list, throws an errorUnknow argument
, for instance in ipfs/js-ipfs/src/cli/commands/pin/ls.js#L7In order to fix this, we have to set a
dash-case
option. This seems a bug withyargs-parser
, as if it inferres other alias, it should be transparent to the users.The text was updated successfully, but these errors were encountered: