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

gmtwhich: Rename the long names for arguments of the -G option #8597

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Oct 8, 2024

Description of proposed changes

gmt which -G take four different values:

a - Place files in the appropriate folder under the user directory (this is where GMT normally places downloaded files).
c - Download to the user cache directory.
l - Download to the current directory [Default].
u - Download to the user data directory (i.e., ignoring any subdirectory structure).

Currently, their long names are "user,cache,current,data", but I feel "auto,cache,local,user" makes more sense.

Copy link
Member

@joa-quim joa-quim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to change also the test in .../test/gmtwhich

@seisman seisman merged commit 5d8e062 into master Oct 9, 2024
15 of 18 checks passed
@seisman seisman deleted the longopt/which-G branch October 9, 2024 09:24
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.

2 participants