Change command-line options to be more intuitive
This commit is contained in:
parent
49f6130838
commit
dd461e3ec0
|
@ -33,8 +33,8 @@ def parse_args():
|
|||
parser = argparse.ArgumentParser(description='Generate graphs of polyamorous family networks from data files')
|
||||
parser.add_argument('--input', '-i', default='network.json', help='Input file in json format')
|
||||
parser.add_argument('--output', '-o', default='network.png', help='Output image file. Format auto-detected from file extension')
|
||||
parser.add_argument('--gender', '-g', action='store_true', help='Enable gender in output graph')
|
||||
parser.add_argument('--relationship-types', '-rt', action='store_true', help='Enable relationship details (std risk, relationship type) in output graph')
|
||||
parser.add_argument('--gender', '-g', action='store_true', help='Indicate gender in output graph')
|
||||
parser.add_argument('--relationships', '-r', action='store_true', help='Indicate relationship details (std risk, relationship type) in output graph')
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user