Unexpected return value for '--version'
[Deleted User]
Community Member
in CLI
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
0.5.3
$ echo $?
1
$ ./op-0.5.3 update
You are running the latest version (0.5.3). Thank you for staying up-to-date!
$ echo $?
0
//Adam
1Password Version: 0.5.3
Extension Version: Not Provided
OS Version: Ubuntu 18.04.1 LTS
Sync Type: Not Provided
0
Comments
-
That's our bad! We'll get this fix into a release soon.
0
This discussion has been closed.