Merge pull request #1033 from MCUdude/ignore-safemode-flag

Ignore `-s` flag as safemode is no longer supported
This commit is contained in:
Stefan Rueger 2022-08-02 18:26:58 +01:00 committed by GitHub
commit 18e5bfd203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -44,9 +44,7 @@
.Op Fl O .Op Fl O
.Op Fl P Ar port .Op Fl P Ar port
.Op Fl q .Op Fl q
.Op Fl s
.Op Fl t .Op Fl t
.Op Fl u
.Op Fl U Ar memtype:op:filename:filefmt .Op Fl U Ar memtype:op:filename:filefmt
.Op Fl v .Op Fl v
.Op Fl x Ar extended_param .Op Fl x Ar extended_param
@ -626,6 +624,9 @@ Posix systems (by now).
.It Fl q .It Fl q
Disable (or quell) output of the progress bar while reading or writing Disable (or quell) output of the progress bar while reading or writing
to the device. Specify it a second time for even quieter operation. to the device. Specify it a second time for even quieter operation.
.It Fl s, u
These options used to control the obsolete "safemode" feature which
is no longer present. They are silently ignored for backwards compatibility.
.It Fl t .It Fl t
Tells Tells
.Nm .Nm

View File

@ -694,6 +694,10 @@ Posix systems (by now).
Disable (or quell) output of the progress bar while reading or writing Disable (or quell) output of the progress bar while reading or writing
to the device. Specify it a second time for even quieter operation. to the device. Specify it a second time for even quieter operation.
@item -s, -u
These options used to control the obsolete "safemode" feature which
is no longer present. They are silently ignored for backwards compatibility.
@item -t @item -t
Tells AVRDUDE to enter the interactive ``terminal'' mode instead of up- Tells AVRDUDE to enter the interactive ``terminal'' mode instead of up-
or downloading files. See below for a detailed description of the or downloading files. See below for a detailed description of the

View File

@ -511,6 +511,7 @@ int main(int argc, char * argv [])
terminal = 1; terminal = 1;
break; break;
case 's':
case 'u': case 'u':
avrdude_message(MSG_INFO, "%s: \"safemode\" feature no longer supported\n", avrdude_message(MSG_INFO, "%s: \"safemode\" feature no longer supported\n",
progname); progname);