From ec467c465e8dc41505573cc5b814623ca59362e2 Mon Sep 17 00:00:00 2001 From: MCUdude Date: Mon, 18 Jul 2022 17:13:10 +0200 Subject: [PATCH 1/2] Ignore -s flag as safemode is no longer supported Resolves #1032 --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 1d00ae67..3ed3fc78 100644 --- a/src/main.c +++ b/src/main.c @@ -576,6 +576,7 @@ int main(int argc, char * argv []) terminal = 1; break; + case 's': case 'u': avrdude_message(MSG_INFO, "%s: \"safemode\" feature no longer supported\n", progname); From 248c17177c48a1695748fc24ef85a92dca097d81 Mon Sep 17 00:00:00 2001 From: MCUdude Date: Sat, 23 Jul 2022 22:33:11 +0200 Subject: [PATCH 2/2] Mention -s and -u in the docs --- src/avrdude.1 | 5 +++-- src/doc/avrdude.texi | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/avrdude.1 b/src/avrdude.1 index c4fc850f..efeaa2fe 100644 --- a/src/avrdude.1 +++ b/src/avrdude.1 @@ -44,9 +44,7 @@ .Op Fl O .Op Fl P Ar port .Op Fl q -.Op Fl s .Op Fl t -.Op Fl u .Op Fl U Ar memtype:op:filename:filefmt .Op Fl v .Op Fl x Ar extended_param @@ -626,6 +624,9 @@ Posix systems (by now). .It Fl q Disable (or quell) output of the progress bar while reading or writing 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 Tells .Nm diff --git a/src/doc/avrdude.texi b/src/doc/avrdude.texi index d99b0a85..ae04dac6 100644 --- a/src/doc/avrdude.texi +++ b/src/doc/avrdude.texi @@ -693,6 +693,10 @@ Posix systems (by now). Disable (or quell) output of the progress bar while reading or writing 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 Tells AVRDUDE to enter the interactive ``terminal'' mode instead of up- or downloading files. See below for a detailed description of the