Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jflex --{version,info,help} should exit with code 0 (success) #194

@asmod3us

Description

@asmod3us

Title really says it all. In a bash shell,

jflex --version
echo $?

will display the version and 1, i.e. a non-zero exit code. Non-zero exit codes usually indicate an error (see e.g. grep --version; echo $?), so it would be more idiomatic to exit with code 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions