Closed htgoebel closed 4 years ago
feediverse should support --help``. THis can be simply done by adding code like this tomain()`
--help``. THis can be simply done by adding code like this to
DEFAULT_CONFIG_FILE = os.path.join("~", ".feediverse") parser = argparse.ArgumentParser() parser.add_argument("config_file", nargs="?", metavar="CONFIG-FILE", help="config file to use, default: %s" % DEFAULT_CONFIG_FILE, default=os.path.expanduser(DEFAULT_CONFIG_FILE)) args = parser.parse_args() config_file = args.config_file
feediverse should support
--help``. THis can be simply done by adding code like this to
main()`