Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support complex arguments and limit number of positional arguments in xmlchange #370

Merged
merged 2 commits into from
Aug 16, 2016

Conversation

wilke
Copy link
Contributor

@wilke wilke commented Aug 10, 2016

Limiting the number of positional command line arguments to 1 or 0.
Implicit provided argument is in the form of key=value.
Supporting complex arguments. The value in key=value can contain equal signs too.

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes #323
Fixes #385

Avoids problems reported in #359 and #364
Connects to #359
Connects to #364
User interface changes?:

Code review:

@rljacob
Copy link
Member

rljacob commented Aug 10, 2016

Replaces PR #343

@rljacob rljacob mentioned this pull request Aug 10, 2016
@wilke wilke changed the title Wilke/scripts/xmlchange Support complex arguments and limit number of positional arguments Aug 10, 2016
@rljacob rljacob changed the title Support complex arguments and limit number of positional arguments Support complex arguments and limit number of positional arguments in xlmchange Aug 10, 2016
@jedwards4b
Copy link
Contributor

This still doesn't work
./xmlchange JOB_QUEUE="The fox, the bear, and the cat"

@rljacob rljacob changed the title Support complex arguments and limit number of positional arguments in xlmchange Support complex arguments and limit number of positional arguments in xmlchange Aug 11, 2016
@wilke
Copy link
Contributor Author

wilke commented Aug 11, 2016

The comma syntax is a new feature, I suggest closing this pull request and branch and opening a new issue?

@rljacob
Copy link
Member

rljacob commented Aug 11, 2016

Yes. That is the "git way".

@jedwards4b
Copy link
Contributor

okay fine - please resolve conflicts and merge, I will open an issue on the syntax error.

@wilke wilke assigned wilke and unassigned jedwards4b Aug 12, 2016
Conflicts:
	scripts/Tools/xmlchange
@wilke wilke merged commit 525492d into master Aug 16, 2016
@wilke wilke removed the in progress label Aug 16, 2016
@rljacob
Copy link
Member

rljacob commented Aug 16, 2016

Andreas, Jim was supposed to integrate this. No one should merge their own PRs to master.

@rljacob
Copy link
Member

rljacob commented Aug 16, 2016

Nevermind. I see Jim told you to merge it.

@jgfouca jgfouca deleted the wilke/scripts/xmlchange branch March 21, 2017 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants