You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be with those escaped ' characters:
$ scala-cli complete zsh-v1 "1""e"local -a args306746944
args306746944=(
'export:The \'export\' sub-command is experimental.')_describe command args306746944
Without the backslashes the completions work, but the quotes simply aren't printed. I'm not sure if there's any way to output single quotes succesfully...
The text was updated successfully, but these errors were encountered:
This seems to be a problem for arguments only. Not for options (args that start with -). For some reason options are put between double quotes and there the \' doesn't cause issues:
$ scala-cli complete zsh-v1 2 scala-cli --java-prop-o
local -a args1160121317
args1160121317=(
"--java-prop-option:Add java properties. Note that options equal \`-Dproperty=value\` are assumed to be java properties and don\'t require to be passed after \`--java-prop\`."
"--java-prop-option:Add java properties. Note that options equal \`-Dproperty=value\` are assumed to be java properties and don\'t require to be passed after \`--java-prop\`."
)
_describe command args1160121317
Notice the don\'t .
So I guess the fix may be as simple as always using double quotes. But then I don't know why options and arguments were handled differently to begin with.
The problem seems to be with those escaped
'
characters:Without the backslashes the completions work, but the quotes simply aren't printed. I'm not sure if there's any way to output single quotes succesfully...
The text was updated successfully, but these errors were encountered: