Is there a way to test when a variable name is not in use?
I am currently doing this:
#!/usr/bin/fish
set -l options (fish_opt -s n)
argparse $options -- $argv
if set --query _flag_n
else
# Run some code only if -n is not set.
end
$_flag_n
will likely be empty, so I can't check against string length.