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

Trap incorrect inputs #66

Open
petermr opened this issue Feb 19, 2019 · 1 comment
Open

Trap incorrect inputs #66

petermr opened this issue Feb 19, 2019 · 1 comment
Assignees
Labels
bug Something isn't working documentation document possible bugs

Comments

@petermr
Copy link
Owner

petermr commented Feb 19, 2019

Users will mistype data such as projectnames and dictionaries.
Trap this prettily and give simple error messages.

Action: after tomorrow create incorrect inputs for

ami-search-new -p myproject --dictionary country /some/where/dict

Typical errors:

  • ami-serach-new (misspelt)
  • omit -p
  • myproject does not exist
  • omit --dictionary
  • -dictionary (only one -)
  • --diktionary (misspelt)
  • --dictionary contry (non-existent)

NOTE: ami-search-cooccur is being replaced by ami-search-new

@petermr
Copy link
Owner Author

petermr commented Feb 21, 2019

Trapped missing project and non-exists project files.

@petermr petermr added bug Something isn't working documentation document possible bugs labels Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation document possible bugs
Projects
None yet
Development

No branches or pull requests

2 participants