dyne / Zenroom

Embedded no-code VM executing human-like language to manipulate data and process cryptographic operations.
https://dev.zenroom.org
GNU Affero General Public License v3.0
197 stars 64 forks source link

`zenroom -v` should terminate after version is shown #938

Open matteo-cristino opened 1 month ago

matteo-cristino commented 1 month ago

Now when running

zenroom -v

it prints

Zenroom v4.42.0 - secure crypto language VM
Zenroom is Copyright (C) 2017-2024 by the Dyne.org foundation

but then it does not terminate and the user has to interrupt it manually.

matteo-cristino commented 1 month ago

Whops, the -v option is not for version, but it is a direct call for input validation. Then it should fail and report the problem if no input is given.

Moreover an option to get zenroom version can be added.