From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11439 invoked from network); 7 Nov 2020 06:52:21 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 7 Nov 2020 06:52:21 -0000 Received: (qmail 9578 invoked by uid 550); 7 Nov 2020 06:52:17 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9548 invoked from network); 7 Nov 2020 06:52:16 -0000 X-Virus-Scanned: Debian amavisd-new at disroot.org From: =?UTF-8?q?=C3=89rico=20Nogueira?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1604731924; bh=SamwNn+6HXPPjtScwdSBlDae6pQDpgMQLWlD9d3R1uY=; h=From:To:Cc:Subject:Date; b=LmkaLWAtUzDZ9MogjhUWEBmduWeW9zPkhZxvJBjoWsk9jXCKuOLDBsq8tjVmBq+l3 9IVbQksuLEKezJNTThnQoSCAuW97tY7b9Jvxc1GU05ITXrsxsSqVKOZGkQZouNdUuk eXOtcoIbMenmjb8liS5bQCBLk6/9xcapf3JFKy4Q+gI3JaKLINR/CUxct0SdqtSyCu Kk0nOZARVj1mdj0a1Q4/kB7Z45VazR/y/EwGCzGoBrm1TR+O+3Ppa/enBWXp03rU8R +/Ug7VkZqWpPFai0BFyb5MujRhHrO40ei8kTTDexJkjmBBr8RnZPDzKF2o4XY/pMlw wHoPIJAlRX3JQ== To: musl@lists.openwall.com Cc: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 7 Nov 2020 03:51:42 -0300 Message-Id: <20201107065143.10191-1-ericonr@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH 1/2] sbsiglist: add information about short options. From: Érico Rolim --- 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 --type \n" "Create an EFI_SIGNATURE_LIST from a signature file\n" "Options:\n" - "\t--owner Signature owner GUID\n" - "\t--type Signature type. One of:\n", + "\t-w, --owner Signature owner GUID\n" + "\t-t, --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 write signed data to \n" + printf("\t-o, --output write signed data to \n" "\t (default .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