Skip to content

add_molecules does not accept the advertised --n-molecules flag #206

Description

@galjos
$ add_molecules a.rst b.xyz --n-molecules 2
add_molecules: error: unrecognized arguments: --n-molecules 2

The option was registered as the single string "-n, --n-molecules", so argparse knows one malformed long option; --help prints the flag it will not accept. -n 2 only worked through prefix matching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions