Do not use argparse & set argv[0] to __main__ when running a module.