Skip to content

Conversation

@lynxis
Copy link
Member

@lynxis lynxis commented Feb 10, 2026

jsonpath should exit 1 one getopt error or when showing usage.

When getopt() encounter an invalid or unknown argument,
it prints an error. However jsonpath ignored those and continued
anyways.
getopt() will print the error message to stderr.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Exit 0 could hide layer 8 errors.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant