mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +00:00
cc7ca138da
If we call parser.parse_args(), thus with no arguments, the parser uses sys.argv (because that is the default). We should pass argv since that was the purpose of handling argv in the main function. We pass argv[1:] since when parsing the arguments we always ignore the name of the program. Use the full power of argparse to declare the default value of the end_format.