Changelog: v1.0.1...v1.0.2
Fixed shorthand flags expansion.
parseArgs(
['-a'],
{
flags: ['foo'],
shorthands: { a: 'foo' }
}
);
// ⮕ { '': [], foo: true }
Changelog: v1.0.1...v1.0.2
Fixed shorthand flags expansion.
parseArgs(
['-a'],
{
flags: ['foo'],
shorthands: { a: 'foo' }
}
);
// ⮕ { '': [], foo: true }