From: Daniel Wagner Date: Tue, 15 Feb 2022 15:05:32 +0000 (+0100) Subject: nvme: Update help text for --force X-Git-Tag: v2.0-rc4~11^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cac40056a7709a8c4c1b523758a0689ca87179a9;p=users%2Fsagi%2Fnvme-cli.git nvme: Update help text for --force The short flag version --force has been removed in 90592d5188fe ("nvme: Consolidate --force option and udpate documetation") but the help text didn't get updated. Signed-off-by: Daniel Wagner --- diff --git a/nvme.c b/nvme.c index 9b5b6d15..7d32eac1 100644 --- a/nvme.c +++ b/nvme.c @@ -4524,7 +4524,7 @@ static int format(int argc, char **argv, struct command *cmd, struct plugin *plu "Namespace is currently busy.\n"); if (!cfg.force) fprintf(stderr, - "Use the force [--force|-f] option to ignore that.\n"); + "Use the force [--force] option to ignore that.\n"); } else { argconfig_print_help(desc, opts); } @@ -4647,7 +4647,7 @@ static int format(int argc, char **argv, struct command *cmd, struct plugin *plu nvme_show_relatives(devicename); fprintf(stderr, "WARNING: Format may irrevocably delete this device's data.\n" "You have 10 seconds to press Ctrl-C to cancel this operation.\n\n" - "Use the force [--force|-f] option to suppress this warning.\n"); + "Use the force [--force] option to suppress this warning.\n"); sleep(10); fprintf(stderr, "Sending format operation ... \n"); }