mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Command line --get-pref may be used without name of the target pref.
If pref name is missing, all prefs are printed on stdout. Should fix/mitigate #2982
This commit is contained in:
@ -27,7 +27,7 @@ SYNOPSIS
|
||||
|
||||
*arduino* [*--verify*|*--upload*] [*--board* __package__:__arch__:__board__[:__parameters__]] [*--port* __portname__] [*--pref* __name__=__value__] [*-v*|*--verbose*] [--preserve-temp-files] [__FILE.ino__]
|
||||
|
||||
*arduino* [*--get-pref* __preference__]
|
||||
*arduino* [*--get-pref* [__preference__]]
|
||||
|
||||
*arduino* [*--install-boards* __package name__:__platform architecture__[:__version__]]
|
||||
|
||||
@ -63,10 +63,11 @@ ACTIONS
|
||||
*--upload*::
|
||||
Build and upload the sketch.
|
||||
|
||||
*--get-pref* __preference__::
|
||||
*--get-pref* [__preference__]::
|
||||
Prints the value of the given preference to the standard output
|
||||
stream. When the value does not exist, nothing is printed and
|
||||
the exit status is set (see EXIT STATUS below).
|
||||
If no preference is given as parameter, it prints all preferences.
|
||||
|
||||
*--install-boards* __package name__:__platform architecture__[:__version__]::
|
||||
Fetches available board support (platform) list and install the specified one, along with its related tools. If __version__ is omitted, the latest is installed. If a platform with the same version is already installed, nothing is installed and program exits with exit code 1. If a platform with a different version is already installed, it's replaced.
|
||||
|
Reference in New Issue
Block a user