Skip to content

Commit 5fc8709

Browse files
committed
Change default externals description filename to Externals.cfg
Change the default externals description filename to Externals.cfg so it is not cesm specific. Testing: make test, python2 - all tests pass, one skip. manual test with clm repo - ok - explicitly pass old filename manual test with clm repo - ok - pickup new filename
1 parent f56be92 commit 5fc8709

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```
66
77
usage: checkout_externals [-h] [-e [EXTERNALS]] [-o] [-S] [-v] [--backtrace]
8-
[-d]
8+
[-d] [--no-logging]
99
1010
checkout_externals manages checking out CESM externals from revision control
1111
based on a externals description file. By default only the required
@@ -19,7 +19,8 @@ synchronize the working copy with the externals description.
1919
optional arguments:
2020
-h, --help show this help message and exit
2121
-e [EXTERNALS], --externals [EXTERNALS]
22-
The externals description filename. Default: CESM.cfg.
22+
The externals description filename. Default:
23+
Externals.cfg.
2324
-o, --optional By default only the required externals are checked
2425
out. This flag will also checkout the optional
2526
externals.
@@ -28,11 +29,13 @@ optional arguments:
2829
information is provided. Use verbose output to see
2930
details.
3031
-v, --verbose Output additional information to the screen and log
31-
file.
32+
file. This flag can be used up to two times,
33+
increasing the verbosity level each time.
3234
--backtrace DEVELOPER: show exception backtraces as extra
3335
debugging output
3436
-d, --debug DEVELOPER: output additional debugging information to
3537
the screen and log file.
38+
--no-logging DEVELOPER: disable logging.
3639
3740
```
3841
NOTE: checkout_externals *MUST* be run from the root of the source tree it

manic/checkout.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ def commandline_arguments(args=None):
202202
#
203203
# user options
204204
#
205-
parser.add_argument('-e', '--externals', nargs='?', default='CESM.cfg',
205+
parser.add_argument('-e', '--externals', nargs='?',
206+
default='Externals.cfg',
206207
help='The externals description filename. '
207208
'Default: %(default)s.')
208209

0 commit comments

Comments
 (0)