arduino_debug (windows) updates preferences.txt even without --save-prefs
#6067
Labels
Milestone
--save-prefs
#6067
It's not clear whether this is a documentation bug or an arduino_debug.exe bug.
From the man page manpage.adoc
This is clear; if you use an invalid name (for example) for
build.prefs=...
, the program will use those preference anyway.The
--save-prefs
option description implies that if--save-prefs
is not given, thenpreferences.txt
will not be updated. However, this is not the case, at least on Windows.If, in fact, you specify
--pref build.path=...
on the command line, it is written topreferences.txt
, even if you did not specify--save-prefs
.Example:
preferences.txt
withoutbuild.path=
setting; then run the command line tool.Note that
build.path=foo
now appears, despite no--save-prefs
switch on the command line.Either the documentation should be clarified, or the command-line invocation should be corrected.
The text was updated successfully, but these errors were encountered: