Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/audiocfg Index argument is not optional, make it cle...



details:   https://anonhg.NetBSD.org/src/rev/b90309cb5592
branches:  trunk
changeset: 757486:b90309cb5592
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Sep 01 09:18:03 2010 +0000

description:
Index argument is not optional, make it clearer in the usage.

diffstat:

 usr.bin/audiocfg/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 92b62d1bf915 -r b90309cb5592 usr.bin/audiocfg/main.c
--- a/usr.bin/audiocfg/main.c   Wed Sep 01 09:17:31 2010 +0000
+++ b/usr.bin/audiocfg/main.c   Wed Sep 01 09:18:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.2 2010/09/01 09:04:16 jmcneill Exp $ */
+/* $NetBSD: main.c,v 1.3 2010/09/01 09:18:03 wiz Exp $ */
 
 /*
  * Copyright (c) 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -40,8 +40,8 @@
 usage(const char *p)
 {
        fprintf(stderr, "usage: %s list\n", p);
-       fprintf(stderr, "       %s default [index]\n", p);
-       fprintf(stderr, "       %s test [index]\n", p);
+       fprintf(stderr, "       %s default <index>\n", p);
+       fprintf(stderr, "       %s test <index>\n", p);
        exit(EXIT_FAILURE);
 }
 



Home | Main Index | Thread Index | Old Index