Skip to content

🟑 [Medium] nansen quote --help exits with code 1 instead of 0 #155

Description

@askeluv

Summary

nansen quote --help successfully displays help text but exits with code 1. All other --help outputs exit 0.

Steps to reproduce

nansen quote --help; echo $?
# β†’ (displays help)
# β†’ 1

Impact

Any script using set -e or checking exit codes will fail when checking trade help. Inconsistent with the rest of the CLI.

Expected

Exit 0 on successful --help display.

Discovered via

Clawfooding β€” The Lapsed User and Scripter personas (v1.10.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions