mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-21 08:36:29 +03:00
Respect silent request from caller for urboot:help
This commit is contained in:
@@ -924,7 +924,8 @@ static int urbootautogen_parse(const AVRPART *part, char *urname, Urbootparams *
|
||||
|
||||
p = urname + 7;
|
||||
if(!*p) {
|
||||
autogen_help(up);
|
||||
if(!silent)
|
||||
autogen_help(up);
|
||||
return -1;
|
||||
}
|
||||
while(*(tok = str_nexttok(p, "_", &p))) {
|
||||
@@ -1210,7 +1211,8 @@ static int urbootautogen_parse(const AVRPART *part, char *urname, Urbootparams *
|
||||
}
|
||||
|
||||
if(str_eq(tok, "help")) {
|
||||
autogen_help(up);
|
||||
if(!silent)
|
||||
autogen_help(up);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user