From 7019fcbc7a0536a4c4d1c7a9fe2cf8daf168268b Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Tue, 30 Aug 2016 21:11:02 -0600 Subject: [PATCH] Suggestions from Jim, add comment about machine name in manage_case and modify default for mach option in create_newcase --- scripts/create_newcase | 5 +++-- scripts/manage_case | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/create_newcase b/scripts/create_newcase index 9913623bf855..c438930a8119 100755 --- a/scripts/create_newcase +++ b/scripts/create_newcase @@ -33,8 +33,9 @@ def parse_command_line(args, cimeroot): "To see list of current compsets, use the utility manage_case in this directory") parser.add_argument("--mach", "-mach", - help="Specify a machine (if not set, base it off of the hostname). " - "To see list of current machines, use the utility manage_case in this directory") + help="Specify a machine. default: match NODENAME_REGEX in config_machines.xml " + "To see list of current machines, use the utility manage_case in this directory" + ) parser.add_argument("--compiler", "-compiler", help="Specify a compiler. " diff --git a/scripts/manage_case b/scripts/manage_case index 6be079833572..80199cbc38fe 100755 --- a/scripts/manage_case +++ b/scripts/manage_case @@ -34,6 +34,7 @@ def query_machines(): config_file = files.get_value("MACHINES_SPEC_FILE") expect(os.path.isfile(config_file), "Cannot find config_file %s on disk" %config_file) + # Provide a special machine name indicating no need for a machine name machines = Machines(config_file,machine="Query") machines.print_values()