From 4e473c044c47694c3352a87d98cda0c08ef11d4a Mon Sep 17 00:00:00 2001 From: stefanrueger Date: Tue, 3 Jun 2025 00:54:06 +0200 Subject: [PATCH] Respect silent request from caller for urboot:help --- src/urbootautogen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/urbootautogen.c b/src/urbootautogen.c index 223add75..088ce20f 100644 --- a/src/urbootautogen.c +++ b/src/urbootautogen.c @@ -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; }