From 3a6f34847d511b993b6cd1c90ac945f697e42047 Mon Sep 17 00:00:00 2001 From: sevan Date: Mon, 27 Aug 2018 00:36:03 +0000 Subject: [PATCH] Remove reference to -c flag which was never implemented. --- sbin/amrctl/amrctl.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sbin/amrctl/amrctl.c b/sbin/amrctl/amrctl.c index 6755cdb4d042..53efebdfbf7a 100644 --- a/sbin/amrctl/amrctl.c +++ b/sbin/amrctl/amrctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: amrctl.c,v 1.10 2014/03/23 05:09:56 dholland Exp $ */ +/* $NetBSD: amrctl.c,v 1.11 2018/08/27 00:36:03 sevan Exp $ */ /*- * Copyright (c) 2002, Pierre David @@ -29,7 +29,7 @@ #include #ifndef lint -__RCSID("$NetBSD: amrctl.c,v 1.10 2014/03/23 05:09:56 dholland Exp $"); +__RCSID("$NetBSD: amrctl.c,v 1.11 2018/08/27 00:36:03 sevan Exp $"); #endif #include @@ -192,11 +192,10 @@ static void usage(const char *prog) { fprintf(stderr, "usage: %s stat [-a num] [-b] " - "[-c ctlr|-f dev] [-g] [-l vol]\n\t\t" + "[-f dev] [-g] [-l vol]\n\t\t" "[-p drive|-s bus[:target]] [-t usec] [-v]\n\n\t" "-a num\t\tnumber of retries\n\t" "-b\t\tbattery status\n\t" - "-c ctrl\t\tcontroller ID\n\t" "-f dev\t\tdevice path\n\t" "-g\t\tprint global parameters\n\t" "-l vol\t\tlogical volume ID\n\t" @@ -603,7 +602,7 @@ main(int argc, char *argv[]) usage(argv[0]); optind = 2; - while ((i = getopt(argc, argv, "a:bc:f:gl:p:s:t:v")) != -1) + while ((i = getopt(argc, argv, "a:b:f:gl:p:s:t:v")) != -1) switch (i) { case 'a': nattempts = atoi(optarg);