Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/amrctl Remove reference to -c flag which was never impl...



details:   https://anonhg.NetBSD.org/src/rev/c3379e2f831c
branches:  trunk
changeset: 364137:c3379e2f831c
user:      sevan <sevan%NetBSD.org@localhost>
date:      Mon Aug 27 00:36:03 2018 +0000

description:
Remove reference to -c flag which was never implemented.

diffstat:

 sbin/amrctl/amrctl.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 3272a4e606f2 -r c3379e2f831c sbin/amrctl/amrctl.c
--- a/sbin/amrctl/amrctl.c      Sun Aug 26 23:34:52 2018 +0000
+++ b/sbin/amrctl/amrctl.c      Mon Aug 27 00:36:03 2018 +0000
@@ -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 <Pierre.David%crc.u-strasbg.fr@localhost>
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #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 <stdio.h>
@@ -192,11 +192,10 @@
 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 @@
                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);



Home | Main Index | Thread Index | Old Index