import argparse
parser = argparse.ArgumentParser()
for grp in parser._action_groups:
    if grp.title == 'optional arguments':
        grp.title = 'arguments'
How to change the text "optional arguments" in argparse