facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
30.07k stars 6.36k forks source link

`fairseq_cli/*.py` should report a more specific error for unrecognized CLI arguments #3403

Open munael opened 3 years ago

munael commented 3 years ago

🚀 Feature Request

Right now, the error prints the entire command almost as is. Instead, try to parse and let argparse print a more specific error for wrong or missing flags.

Motivation

The current behavior is frustrating for debugging :(

Pitch

See ## Feature Request

Alternatives

Additional context

stale[bot] commented 3 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!