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

Show unknown argument #23

Closed
Retr0-code opened this issue Nov 7, 2023 · 1 comment
Closed

Show unknown argument #23

Retr0-code opened this issue Nov 7, 2023 · 1 comment
Labels
enhancement New feature or request feature Describes a function or new module good first issue Good for newcomers

Comments

@Retr0-code
Copy link
Owner

Summary

When unknown parameter was specified, app will show message only about this fact, without pointing to wrong argument.

Basic example

  1. Add a static global variable, which contains unknown parameter key;
  2. Set the variable's value if unknown parameter was specified;
  3. Add a function that returns value of the variable;

Motivation

User will recognize a mistake in command much easier.

@Retr0-code Retr0-code added enhancement New feature or request good first issue Good for newcomers feature Describes a function or new module labels Nov 7, 2023
@Retr0-code
Copy link
Owner Author

Added with #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Describes a function or new module good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant