Fix readme usage typo
Hi @kootoopas,
Thanks for contributing to the project.
This codeblock contains a generated by running a command dts-bundle-generator --help command. Do you know if it possible to fix it there in the first place? So the next time we'll add or change a command we won't discard this change accidentally.
@timocov Hey,
Help option output is valid on v6.12.0 when run from command line. (npx dts-bundle-generator --help)
Extension exists solely on readme.
@kootoopas it looks like it depends on the system where you're running the command. On windows it has the extension:
$ npx dts-bundle-generator --help
Usage: dts-bundle-generator.js [options] <file(s)>
Probably we need to adjust yargs usage command to address this. But I'm not too sure how it should be though.
Probably we can just remove that line from readme and leave yargs options as is (since they are accurate).
Given that the command can execute without the extension on windows, using the package name does produce constant output across OSs: c9037b7
If npx & the node_modules/.bin link use package name and not specified executable filename (binary in package.json) then it should be accurate.
Thanks @kootoopas! I think changes in the source code weren't necessary to I reverted them and left only changes in readme file.