In the CLI shorthand options (e.g. -c, -d, -g), previously I had given instructions to resolve any conflicts between arguments which share the same first letter by not putting a shorthand. Instead, if there are for
Commit
Maxwell-Rosen1w ago
instance two parameters which share the same first letter (e.g. options log and linear), resolve this conflict by putting the shorthand notation on the argument which comes first in the functional call. This ensures that
there is a shorthand for every first letter while placing priority to the arguments which appear first in the function definition.
Implemented first-parameter priority for conflicting shorthand initials; -h remains reserved.
Examples: paths receives -p before pair, and z0 receives -z before z1–z5.
Updated src/postgkyl/cli/compiler.py:143, tests, and documentation.