1Password on Mastodon

op --version and op --help return non-zero code

Community Member

Just a minor issue: op --version and op --help both have non-zero return codes.

1Password Version: 0.1.1
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided


  • beyerbeyer

    Team Member

    Good catch @pervel! :)

    I'll be sure to let the 1Password CLI developers know.

    I definitely could see folks using op --version to ensure the version of op installed has the features required for operations happening later on. While reproducing your report, I did notice that op update returns with an exit status of 0 and also displays the version. That's not a perfect answer, as it's logical to assume that might perform an update of op in the not so distant future.

    Thanks for reporting this issue, it's much appreciated! :+1:

    Andrew Beyer (Ann Arbor, MI)
    Lifeline @ AgileBits

  • Thanks @pervel. I've filed this as issue 264 in our tracker to look into.


This discussion has been closed.