possible non wanted error [ERROR:vr] Unknown option: -1
See original GitHub issuehello 👋
i was successfully running deno scripts through velociraptor, like so:
vr add foo 100
which maps to:
deno run --allow-env --allow-read --allow-write add.ts
add.ts
is supposed to read Deno.args
and do something with them.
the problem with velociraptor appeared when i ran:
vr add foo -100
which failed with [ERROR:vr] Unknown option: -1
.
that’s okay, it looks like an option and it’s not a valid one.
but then i tried to wrap the value in quotes:
vr add foo "-100"
and got the same error.
now, it’s not at all critical. but when i ran the whole command manually, i got it working (with or without quotes):
$ deno run --allow-env --allow-read --allow-write add.ts foo -1000
so it’s just something i wanted to point out thanks for the good work on velociraptor! 👍
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Using nodejs's spawn causes "unknown option -- " and ...
I'm trying to get spawn to effect an rm -rf node_modules followed by npm install (on windows 7; nx commands courtesy of a...
Read more >openssl keeps giving me "unknown option" errors
I have no idea how this works and am simply following some instructions provided to me. first command works fine: openssl genrsa -des3...
Read more >Error: Unknown option -i : r/Tdarr
I have Tdarr setup to the point that I'm starting to toss files at it, but I get this error: Unknown option -i...
Read more >How do I get rid of "unknown option" error from tmux?
Change command from showw to show-options; Use -w switch for window option; use -q switch for quiet option to suppress errors from unset...
Read more >Why do I get these .vimrc errors in Ubuntu 14 after upgrade ...
Sorry, the command is not available in this version; Option not supported; Unknown option. Details: $ vi .vimrc Error detected while processing ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
using
1.0.0-beta.6
. i will update asap and let you know if it works, thanks.@umbopepato yep, it’s fixed! thanks a lot 👍