devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] fdtoverlay: Remove bogus type info from help text
@ 2024-05-29 10:11 Geert Uytterhoeven
  2024-05-30 12:31 ` Rob Herring
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2024-05-29 10:11 UTC (permalink / raw)
  To: Rob Herring, Saravana Kannan
  Cc: Uwe Kleine-König, devicetree, Geert Uytterhoeven

"fdtoverlay -h" shows a.o.:

    <type>	s=string, i=int, u=unsigned, x=hex
	    Optional modifier prefix:
		    hh or b=byte, h=2 byte, l=4 byte (default)

However, unlike fdtget and fdtput, fdtoverlay does not support the
"-t"/"--type" option.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Upstream dtc has Uwe's commit 2cdf93a6d402a161 ("fdtoverlay: Fix usage
string to not mention "<type>"").

v2:
  - Drop Fixes: tag referring to dtc repo.
---
 scripts/dtc/fdtoverlay.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/dtc/fdtoverlay.c b/scripts/dtc/fdtoverlay.c
index 5350af65679f7fbd..cac6b6576c289c18 100644
--- a/scripts/dtc/fdtoverlay.c
+++ b/scripts/dtc/fdtoverlay.c
@@ -23,9 +23,7 @@
 /* Usage related data. */
 static const char usage_synopsis[] =
 	"apply a number of overlays to a base blob\n"
-	"	fdtoverlay <options> [<overlay.dtbo> [<overlay.dtbo>]]\n"
-	"\n"
-	USAGE_TYPE_MSG;
+	"	fdtoverlay <options> [<overlay.dtbo> [<overlay.dtbo>]]";
 static const char usage_short_opts[] = "i:o:v" USAGE_COMMON_SHORT_OPTS;
 static struct option const usage_long_opts[] = {
 	{"input",            required_argument, NULL, 'i'},
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-31 15:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 10:11 [PATCH v2] fdtoverlay: Remove bogus type info from help text Geert Uytterhoeven
2024-05-30 12:31 ` Rob Herring
2024-05-30 13:31   ` Geert Uytterhoeven
2024-05-31 13:42     ` Rob Herring
2024-05-31 14:06       ` Geert Uytterhoeven
2024-05-31 14:38         ` Rob Herring
2024-05-31 15:00           ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).