Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/audio expand usage message to reality.
details: https://anonhg.NetBSD.org/src/rev/8738ae53f9b7
branches: trunk
changeset: 467716:8738ae53f9b7
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Mar 27 18:16:23 1999 +0000
description:
expand usage message to reality.
diffstat:
usr.bin/audio/play/play.c | 12 ++++++++++--
usr.bin/audio/record/record.c | 17 +++++++++++++++--
2 files changed, 25 insertions(+), 4 deletions(-)
diffs (55 lines):
diff -r bfce72cb79bc -r 8738ae53f9b7 usr.bin/audio/play/play.c
--- a/usr.bin/audio/play/play.c Sat Mar 27 17:58:20 1999 +0000
+++ b/usr.bin/audio/play/play.c Sat Mar 27 18:16:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: play.c,v 1.4 1999/03/27 05:14:38 mrg Exp $ */
+/* $NetBSD: play.c,v 1.5 1999/03/27 18:16:23 mrg Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -311,6 +311,14 @@
{
extern char *__progname;
- fprintf(stderr, "Usage: %s [-iqVh] [-v vol] [-b bal] [-p port] [-d dev]\n\t[-c ctl] [file ...]\n", __progname);
+ fprintf(stderr, "Usage: %s [-hiqV] [options] files\n", __progname);
+ fprintf(stderr, "Options:\n\t"
+ "-C audio control device\n\t"
+ "-b balance (0-63)\n\t"
+ "-d audio device\n\t"
+ "-i header information\n\t"
+ "-m monitor volume\n\t"
+ "-p output port\n\t"
+ "-v volume\n");
exit(0);
}
diff -r bfce72cb79bc -r 8738ae53f9b7 usr.bin/audio/record/record.c
--- a/usr.bin/audio/record/record.c Sat Mar 27 17:58:20 1999 +0000
+++ b/usr.bin/audio/record/record.c Sat Mar 27 18:16:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: record.c,v 1.3 1999/03/27 17:46:00 mrg Exp $ */
+/* $NetBSD: record.c,v 1.4 1999/03/27 18:16:23 mrg Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -361,6 +361,19 @@
{
extern char *__progname;
- fprintf(stderr, "Usage: %s [-iaqVh] [-v vol] [-b bal] [-c channels] [-p port] [-d dev] [-C ctl]\n\t{file|-}\n", __progname);
+ fprintf(stderr, "Usage: %s [-afhqV] [options] {files ...|-}\n", __progname);
+ fprintf(stderr, "Options:\n\t"
+ "-C audio control device\n\t"
+ "-b balance (0-63)\n\t"
+ "-c channels\n\t"
+ "-d audio device\n\t"
+ "-e encoding\n\t"
+ "-i header information\n\t"
+ "-m monitor volume\n\t"
+ "-P precision bits (8, 16, 24 or 32)\n\t"
+ "-p input port\n\t"
+ "-s sample rate\n\t"
+ "-t recording time\n\t"
+ "-v volume\n");
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index