printf -a results in printf: -a: unknown option
#9132
Labels
bug
Something that's not working as intended
Milestone
sys info:
fish, version 3.5.1
Linux 5.18.16-arch1-1
Terminal: foot
Tested with
sh -c 'env HOME=$(mktemp -d) fish'
and by prepending them bybuiltin
executing
printf -a
results in the following errorFrom the fish documentation about
printf
It doesn’t support any options, so there is no need for a
--
separator, which makes it easier to use for arbitrary input thanecho
executing
printf -- -a
workstyping
printf --
and pressing tab fish suggest--help
and--version
as optionsexecuting
printf --help
results in the man page forprintf
being brought up.printf --version
does not work (unknown option)I would expect printf to not take any options and print -a without issue.
The text was updated successfully, but these errors were encountered: