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
{{ message }}
Repository navigation
End of command options -- is not respected in 2.0.1 #100
Activity
ocean commentedon Aug 4, 2022
Trying to find a good command I can use to test this with, that isn't
docker-compose- need something simple that takes long option parameters.nicksantamaria commentedon Aug 4, 2022
kubectlis a good one, lots of flags, arguments, some accept stdin, some are interactiveocean commentedon Aug 4, 2022
Just clarifying, does this only affect passing arguments to commands which have the
"$@"(array of all input parameters) parameter set?I'm clarifying expected behaviour here - if the command doesn't expect all parameters to be given to it, then it should just ignore them, right?
ocean commentedon Aug 4, 2022
Also an alpha pre-release out to use for testing if this is fixed, at https://github.com/ahoy-cli/ahoy/releases/tag/2.0.2-alpha
Fix for #100 : Stop `--` parameter being passed literally to command (#…
AlexSkrypnyk commentedon Aug 5, 2022
This has been fixed and tests were added. I tested this locally on multiple machines - works as expected.
Thank you @ocean
Closing this issue now.
fix: only strip a leading '--', not every occurrence (#186)