diff --git a/sheditor.py b/sheditor.py index fb515af..503bd16 100644 --- a/sheditor.py +++ b/sheditor.py @@ -472,16 +472,16 @@ def main(): parser = argparse.ArgumentParser(prog="Space Haven Saved Game Inspector", description="As above.") parser.add_argument('filename', metavar='SAVEGAME_GAME_FILE') - parser.add_argument('--add_item', required=False, metavar=('ITEM_CODE', 'ITEM_QUANTITY'), type=int, nargs=2, help="Add more of an existing item to storage by CODE - refer to accompanying data file reference for codes. First number is the code, second is the desired quantity.") - parser.add_argument('--buff_chars', required=False, action='store_true', help="For all characters, increases all skills and attributes to maximum. Use wisely.") + parser.add_argument('--add-item', required=False, metavar=('ITEM_CODE', 'ITEM_QUANTITY'), type=int, nargs=2, help="Add more of an existing item to storage by CODE - refer to accompanying data file reference for codes. First number is the code, second is the desired quantity.") + parser.add_argument('--buff-chars', required=False, action='store_true', help="For all characters, increases all skills and attributes to maximum. Use wisely.") parser.add_argument('--money', required=False, type=int, nargs=1, metavar='AMOUNT', help="Give the player credits of the specified amount") - parser.add_argument('--list_ships', required=False, action='store_true', help="List all ships with names and their respective owners") - parser.add_argument('--test_gamedata', required=False, action='store_true', help="Test of new class-based system of storing game information") - parser.add_argument('--clone_character', required=False, type=str, nargs=2, metavar=('OLD_NAME', 'NEW_NAME'), help="Clones a character of one name into another") - parser.add_argument('--add_item_set', required=False, type=str, nargs=1, metavar='PACK_FILENAME', help="Takes a file containing a list of item codes and quantities (whitespace separated) and adds all of these to player storage") - parser.add_argument('--detailed_items', required=False, action='store_true', help='Print a detailed item listing from player inventory') - parser.add_argument('--detailed_chars', required=False, action='store_true', help='Print a comprehensive listing of player character details') - parser.add_argument('--replace_original', required=False, action='store_true', help='Replace original file instead of creating edited alternative. Renames original for backup, but USE WITH CAUTION') + parser.add_argument('--list-ships', required=False, action='store_true', help="List all ships with names and their respective owners") + parser.add_argument('--test-gamedata', required=False, action='store_true', help="Test of new class-based system of storing game information") + parser.add_argument('--clone-character', required=False, type=str, nargs=2, metavar=('OLD_NAME', 'NEW_NAME'), help="Clones a character of one name into another") + parser.add_argument('--add-item-set', required=False, type=str, nargs=1, metavar='PACK_FILENAME', help="Takes a file containing a list of item codes and quantities (whitespace separated) and adds all of these to player storage") + parser.add_argument('--detailed-items', required=False, action='store_true', help='Print a detailed item listing from player inventory') + parser.add_argument('--detailed-chars', required=False, action='store_true', help='Print a comprehensive listing of player character details') + parser.add_argument('--replace-original', required=False, action='store_true', help='Replace original file instead of creating edited alternative. Renames original for backup, but USE WITH CAUTION') args = parser.parse_args() # console.print(args)