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

'Usage' does not properly handle arguments, print newlines or return status codes #625

Closed
ikbenkous opened this issue Sep 17, 2023 · 0 comments
Labels
bug Something isn't working ToBeConfirmed Bug reports that needs to be confirmed or reproduced by the development tea.
Milestone

Comments

@ikbenkous
Copy link
Contributor

ikbenkous commented Sep 17, 2023

klog -h and klog -v do not print newlines.
klog -dskajfdklsa has 0 as a return code. (Considering the argment is garbage, it should return 1.

Arguments such as aaa-valhalla are interpreted as -v since the actual test is this:
if (arguments.contains("-v"))

Scratch that

@ea4k ea4k added bug Something isn't working ToBeConfirmed Bug reports that needs to be confirmed or reproduced by the development tea. labels Sep 23, 2023
@ea4k ea4k added this to the KLog-2.4 milestone Sep 23, 2023
@ea4k ea4k closed this as completed in 4709116 Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ToBeConfirmed Bug reports that needs to be confirmed or reproduced by the development tea.
Projects
None yet
Development

No branches or pull requests

2 participants