mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-28 09:24:14 +01:00
24029c5ace
* CLI: Add --version to CLI option I added to get the Arduino IDE version from the command line It will allow to check easily if the new Arduino is already installed. This feature makes it easier to build external systems linked to specific versions of Arduino. 1. I added `--version` action, which shows version name and exit 1. Currently, VERSION_NAME_LONG (like `1.8.5`, `1.9.0-beta`, `1.8.6 Hourly Build XXX`, etc...) is used. Because I want to know its version number and stable/beta/hourly. 2. Finish with `0`. Because it is `SUCCESSFLLY FINISHED`. 2. Updated man page. * Split "parse" and "action". Move print action to probably suitable place. This commit will fix the behavior of multiple actions about --version. * add testcase |
||
---|---|---|
.. | ||
lib | ||
src | ||
.classpath | ||
.editorconfig | ||
.gitignore | ||
.project | ||
build.xml |