Unexpected return value for '--version'

Hi all,

I am integrating the cli version into a gui app and found out that when the --version parameter is used, the return value is not 0. Is this intended? IMO return value should be 0 if no error was encountered. All other commands return 0 for success.

The easiest way to reproduce:

$ ./op-0.5.3 --version
$ echo $?
$ ./op-0.5.3 update
You are running the latest version (0.5.3). Thank you for staying up-to-date!
$ echo $?


1Password Version: 0.5.3
Extension Version: Not Provided
OS Version: Ubuntu 18.04.1 LTS
Sync Type: Not Provided


  • cohixcohix

    Team Member

    That's our bad! We'll get this fix into a release soon.

This discussion has been closed.