Skip to content

Consistency between option and modifiers related to table or file #6236

Closed

Description

@PaulWessel

Description of the desired feature

Some GMT options, like -Aa|t|s in gmt info, uses t for table, whereas option -q uses +f for file instead of +t for table. This is inconsistent. I can see we have been down this road before, e.g., parsing in gmt info -A says

case 't': case 'f': /* Keep f (file) for backwards compatibility, but "table" is used in all similar situations */

but clearly table is not used in all similar situations.

I will need to find all the places where a|f|s or a|t|s are used and standardinze. Clearly, the code will need to accept either t of f to be backwards compatible. Because we use the word table everywhere to describe the input to table-reading modules, I think we should use t and +t even though we will process f and +f as well. OK, @meghanrjones ?

Activity

  1. added
    feature request
    on Jan 18, 2022
  2. self-assigned this
    on Jan 18, 2022
  3. maxrjones commented on Jan 18, 2022

    @maxrjones
    Member

    Sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions