Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Convention of optional args #26

@napulen

Description

@napulen

The general convention for optional args in a (unix-like) CLI is:

  • -o single-letter switch for single-dashed options and
  • --option-in-cli dashed-separated words for double-dashed options

These usually go in pairs, the shorthand and the full spelled option name. For example:

-h | --help
-v | --version

The current notation for -Wtxt or -export conflicts with this convention.

For -Wtxt I would recommend to have a separate switch specifying the type of file. For example

-W -t txt; where -t means type and it can be a choice between ["mei", "txt"] or something similar.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions