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

Rework list options to make them less confusing #586

Open
3 tasks
kevina opened this issue Oct 20, 2019 · 0 comments
Open
3 tasks

Rework list options to make them less confusing #586

kevina opened this issue Oct 20, 2019 · 0 comments
Milestone

Comments

@kevina
Copy link
Member

kevina commented Oct 20, 2019

How Aspell handles list arguments is non-standard and confusing to many users. Consider fixing this to be more inline with standard behavior.

  • rename list options to use singular nouns rather than plural, provide (hidden) alias for the plural version to avoid breaking existing usage
  • if a non list option is specified more than once make sure that options later in the command line override previous values (this should be the case but it needs to be verified)
  • if a list option is specified more than once then combine the two options into one list

None of these changes should break anything. The --add-OPT, --reset-OPT, and --rem-OPT will still be supported. The behavior of --OPT will change to be closer to --add-OPT but for comparability more than one value can still be listed.

@kevina kevina added this to the 0.62 milestone Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant