Skip to content

Commit e303247

Browse files
committed
#299 Add prog name to command line script
1 parent 16ef962 commit e303247

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎chaste_codegen/_command_line_script.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def skip_conversion(args):
6060

6161
def process_command_line():
6262
# add options for command line interface
63-
parser = argparse.ArgumentParser(description='Chaste code generation for cellml.')
63+
parser = argparse.ArgumentParser(prog='chaste_codegen', description='Chaste code generation for cellml.')
6464
# Options for added pycml backwards compatibility, these are now always on
6565
parser.add_argument('--Wu', '--warn-on-units-errors', action='store_true', help=argparse.SUPPRESS)
6666
parser.add_argument('-A', '--fully-automatic', action='store_true', help=argparse.SUPPRESS)

0 commit comments

Comments
 (0)