Skip to content

JWasm in Linux exits with nonzero exit code 1 when run with -h or -? option #51

@volkertb

Description

@volkertb

I'm trying to run the JWasm binary inside a Dockerfile after compiling, as a sanity check that the compilation yielded a properly functioning executable. Since jwasm -? and jwasm -h return exit code 1, the build assumes failure.

I can handle that with a (somewhat ugly) workaround, but I don't think the help option should make JWasm exit with a non-zero exit code.

Also, it would be nice if there was a -v or -version option that would list only the first lines with version and copyright information. Basically the opposite of -q or -nologo. Also with a zero exit code.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions