Skip to content

Avoid argparse abbreviations

Emanuele Aina requested to merge wip/em/avoid-argparse-abbreviations into master

The argparse Python module by default allow command line flags to be abbreviated to their shortest unambiguous prefix, see https://docs.python.org/3/library/argparse.html#allow-abbrev

This means that when the missing s for the --dowstreams never got noticed as argparse was able to figure it out anyway.

Let's not rely on magic behavior and use the correct flag.

Merge request reports

Loading