Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat,  7 Nov 2020 03:51:42 -0300
From: Érico Nogueira <ericonr@...root.org>
To: musl@...ts.openwall.com
Cc: Érico Rolim <erico.erc@...il.com>
Subject: [PATCH 1/2] sbsiglist: add information about short options.

From: Érico Rolim <erico.erc@...il.com>

---
 src/sbsiglist.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/sbsiglist.c b/src/sbsiglist.c
index 2af577f..7d396fa 100644
--- a/src/sbsiglist.c
+++ b/src/sbsiglist.c
@@ -102,15 +102,17 @@ void usage(void)
 	printf("Usage: %s [options] --owner <guid> --type <type> <sig-file>\n"
 		"Create an EFI_SIGNATURE_LIST from a signature file\n"
 		"Options:\n"
-		"\t--owner <guid>   Signature owner GUID\n"
-		"\t--type <type>    Signature type. One of:\n",
+		"\t-w, --owner <guid>   Signature owner GUID\n"
+		"\t-t, --type <type>    Signature type. One of:\n",
 		toolname);
 
 	for (i = 0; i < ARRAY_SIZE(cert_types); i++)
 		printf("\t                     %s\n", cert_types[i].name);
 
-	printf("\t--output <file>  write signed data to <file>\n"
+	printf("\t-o, --output <file>  write signed data to <file>\n"
 		"\t                  (default <sig-file>.siglist)\n");
+	printf("\t-v, --verbose     Show verbose output\n");
+	printf("\t-V, --version     Show version information\n");
 }
 
 static void version(void)
-- 
2.29.2

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.