Skip to content

Allow passing file with list of arguments to ArgumentParser

Argparse has an option which enables users to specify a file containing options rather than typing them all out (see https://docs.python.org/3/library/argparse.html#fromfile-prefix-chars).

The following input would become valid:

diffoscope @args.txt

with args.txt being a file containing options handled by diffoscope.

Merge request reports

Loading