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
When there's a trailing_var_arg (or in general, really), I would expect that argfile would not parse beyond the -- separator. That is, these should load an argfile:
Alright if you saw the previous version of this post, didn't realise you were talking about specifically the argparse module from Python; the answer is no, argparse doesn't ignore fromfiles after --.
Found in watchexec/watchexec#717.
When there's a
trailing_var_arg
(or in general, really), I would expect that argfile would not parse beyond the--
separator. That is, these should load an argfile:But this should not:
Here's a minimal repro:
Calling with
./repro.rs -- @not-an-argfile
panics, while I would expect it to silently ignore and leave the@not-an-argfile
in the args.The text was updated successfully, but these errors were encountered: