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

Error message if no argument is passed #18

Closed
fuchs-fabian opened this issue Nov 9, 2024 · 1 comment · Fixed by #20
Closed

Error message if no argument is passed #18

fuchs-fabian opened this issue Nov 9, 2024 · 1 comment · Fixed by #20
Labels
invalid This doesn't seem right

Comments

@fuchs-fabian
Copy link
Owner

if [[ "$1" == "-"* ]]; then
  _print_internal_error "Invalid argument: '$1'"
fi

This seems to be wrong. An internal error message should appear.

@fuchs-fabian fuchs-fabian added the invalid This doesn't seem right label Nov 9, 2024
@fuchs-fabian
Copy link
Owner Author

It was decided that if no option or argument is passed, nothing will happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant