mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/2] imd command: Document verbose option
Date: Mon,  7 Dec 2020 10:10:10 +0100	[thread overview]
Message-ID: <20201207091010.2759-2-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20201207091010.2759-1-s.hauer@pengutronix.de>

imd understands -v for verbose mode, document it in the options list.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 commands/imd.c       | 1 +
 scripts/bareboximd.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/commands/imd.c b/commands/imd.c
index 912f065c9e..9f7ac79f8f 100644
--- a/commands/imd.c
+++ b/commands/imd.c
@@ -31,6 +31,7 @@ BAREBOX_CMD_HELP_TEXT("Options:")
 BAREBOX_CMD_HELP_OPT ("-t <type>", "only show information of <type>")
 BAREBOX_CMD_HELP_OPT ("-n <no>", "for tags with multiple strings only show string <no>")
 BAREBOX_CMD_HELP_OPT ("-s VARNAME",  "set variable VARNAME instead of showing information")
+BAREBOX_CMD_HELP_OPT ("-v", "Be verbose")
 BAREBOX_CMD_HELP_OPT ("-V",  "Verify checksum of FILE")
 BAREBOX_CMD_HELP_OPT ("-c", "Create checksum for FILE and write it to the crc32 tag.")
 BAREBOX_CMD_HELP_TEXT("")
diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c
index 48c3e8ab3f..0500e01cc2 100644
--- a/scripts/bareboximd.c
+++ b/scripts/bareboximd.c
@@ -161,6 +161,7 @@ static void usage(const char *prgname)
 "Options:\n"
 "-t <type>    only show information of <type>\n"
 "-n <no>      for tags with multiple strings only show string <no>\n"
+"-v           Be verbose\n"
 "-V           Verify checksum of FILE\n"
 "-c           Create checksum for FILE and write it to the crc32 tag\n"
 "\n"
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2020-12-07  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07  9:10 [PATCH 1/2] imd command: Bail out when crc generation/check fails Sascha Hauer
2020-12-07  9:10 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201207091010.2759-2-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox