nats-io/nsc

Can't not disable wildcard-exports in nsc

Closed this issue · 2 comments

Hi, I have an issue when try to disable wildcard-exports in nsc

nsc edit account -n test --wildcard-exports false

Return:

[ OK ] changed wild card exports to true
[ OK ] edited account "test"

I already try with 0, -1, caplock but it didn't work

for boolean flags, usually, all you have to do is add an equals sign:

/tmp $ nsc edit account --wildcard-exports
[ OK ] changed wild card exports to true
[ OK ] edited account "A"
/tmp $ nsc edit account --wildcard-exports=false
[ OK ] changed wild card exports to false
[ OK ] edited account "A"

(boolean flags, don't take arguments, unless you do the = bit.