Rename argparse arguments to just --from, --to.

This commit is contained in:
voussoir 2020-08-12 10:25:09 -07:00
parent 323b2ead54
commit 5f38dea3b3

View file

@ -45,8 +45,8 @@ def merge_db_argparse(args):
def main(argv): def main(argv):
parser = argparse.ArgumentParser(description=__doc__) parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--from_db_path', dest='from_db_path', required=True) parser.add_argument('--from', dest='from_db_path', required=True)
parser.add_argument('--to_db_path', dest='to_db_path', required=True) parser.add_argument('--to', dest='to_db_path', required=True)
parser.add_argument('--channel', dest='channel', required=True) parser.add_argument('--channel', dest='channel', required=True)
parser.set_defaults(func=merge_db_argparse) parser.set_defaults(func=merge_db_argparse)