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

UW-655 Get program name from sys.argv #565

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

maddenp-noaa
Copy link
Contributor

Synopsis

Old behavior:

$ uw config --version
uw config version 2.3.1 build 0
$ uw template --version
uw template version 2.3.1 build 0

config and template should not appear, as the version number belongs to uw, not to a mode.

New behavior:

$ uw config --version
uw version 2.3.1 build 0
$ uw template --version
uw version 2.3.1 build 0

Type

  • Bug fix (corrects a known issue)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.

@maddenp-noaa maddenp-noaa merged commit 5dc92a3 into ufs-community:main Aug 8, 2024
2 checks passed
@maddenp-noaa maddenp-noaa deleted the uw-655-version-fix branch August 8, 2024 20:20
elcarpenter pushed a commit to elcarpenter/workflow-tools that referenced this pull request Nov 8, 2024
Applying a few changes requested for PR ufs-community#565 after it was merged. Specifically, finishing up docs and changing to dot-delimited syntax for the --output-block arg.
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