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

Do not warn that longoptions where reformatted. See #8657 #8658

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/gmt_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1168,9 +1168,9 @@ GMT_LOCAL void gmtinit_translate_to_short_options(struct GMTAPI_CTRL *API, struc
and also note that at this point we will always be at GMT_MSG_WARNING or whatever
default verbosity level the program is initialized with -- fix this later (or not)! */
#endif /* 0 */
if (modified) {
if (modified && gmt_M_is_verbose (API->GMT, GMT_MSG_INFORMATION)) { /* Echo the converted options */
char *cmd = GMT_Create_Cmd (API, *options);
GMT_Report (API, GMT_MSG_WARNING, "Reformatted options: %s\n", cmd);
GMT_Report (API, GMT_MSG_INFORMATION, "Reformatted options: %s\n", cmd);
GMT_Destroy_Cmd (API, &cmd); /* Free string */
}
}
Expand Down
Loading