* [PATCH] fdtoverlay: Remove bogus type info from help text
@ 2023-02-06 16:16 Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2023-02-06 16:16 UTC (permalink / raw)
To: David Gibson, Rob Herring
Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, 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.
Fixes: 42409146f2db22d7 ("fdtoverlay: A tool that applies overlays")
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
Applies to linux/scripts/dtc/, too.
fdtoverlay.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fdtoverlay.c b/fdtoverlay.c
index 5350af65679f7fbd..cac6b6576c289c18 100644
--- a/fdtoverlay.c
+++ b/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] only message in thread
only message in thread, other threads:[~2023-02-06 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06 16:16 [PATCH] fdtoverlay: Remove bogus type info from help text Geert Uytterhoeven
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).