I attempted to use qrcode from the command line but all command line arguments appear to be broken in some way.
- The
--version, -h or --help are processed as the <input string>
- arguments
-o, -t and -w cause a curl: (3) URL rejected: Malformed input to a URL function error.
Steps to reproduce
npm i -g qrcode
# Should install qrcode@1.5.4
qrcode -o test.png 'hello'
curl: (3) URL rejected: Malformed input to a URL function
I attempted with node 18 and 20. I didn't see any specific version of node mentioned.
Using qrcode as a node module works fine which means only the argument parsing may have issues.
I attempted to use
qrcodefrom the command line but all command line arguments appear to be broken in some way.--version,-hor--helpare processed as the<input string>-o,-tand-wcause acurl: (3) URL rejected: Malformed input to a URL functionerror.Steps to reproduce
I attempted with node 18 and 20. I didn't see any specific version of node mentioned.
Using qrcode as a node module works fine which means only the argument parsing may have issues.