fish version: fish, version 3.0.2-1620-g055a3321
OS: Ubuntu 18.04
a7913c3 (the fix for #6147) breaks function definitions that look like this:
function _pisces_bind_pair -a mode left right -d "Creates bindings for the given pair: autoclose and skip closing symbol"
Definitions like this are common in packages, that example is taken from laughedelic/pisces, it also breaks oh-my-fish/theme-bobthefish and probably others. It seems like the solution would be to assume the argument names end when another flag is encountered instead of erroring out.
The text was updated successfully, but these errors were encountered:
Even arguments that are passed before --argument-names or after other options? So in the definition
function foo a --argument-names b --no-scope-shadowing c
the argument names would be a b c? That seems much less intuitive than what I was intending to do in my PR (treat non-options between --argument-names and the next option as the argument names) but if that's what you want I can change the PR.