summaryrefslogtreecommitdiff
path: root/usr.bin/setchannel
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2007-02-25 01:08:17 +0000
committerGreg Lehey <grog@FreeBSD.org>2007-02-25 01:08:17 +0000
commitf65f25a18748bb0159be2fe18245093bed89b1b3 (patch)
tree1e7242e4a976e001491c0bebe4df5c7e811ec077 /usr.bin/setchannel
parentdd0cb30f892d2d3bc024b5410b4b99597c9bca79 (diff)
Notes
Diffstat (limited to 'usr.bin/setchannel')
-rw-r--r--usr.bin/setchannel/setchannel.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/setchannel/setchannel.c b/usr.bin/setchannel/setchannel.c
index fd3ff7a15ecd..489ef6cf1103 100644
--- a/usr.bin/setchannel/setchannel.c
+++ b/usr.bin/setchannel/setchannel.c
@@ -54,9 +54,12 @@ usage()
("Usage: setchannel [-a {on|off}] [-c | -r | -s | -t] "
"[-g geom] [-m chnl_set] [chnl | freq]\n"
" -a Enable / disable AFC.\n"
- " -c Select composite input.\n" " -r Select radio input.\n"
- " -s Select svideo input.\n" " -t Select tuner.\n"
- " -g Select geometry.\n" " 352x240 or 352x288 = VCD\n"
+ " -c Select composite input.\n"
+ " -r Select radio input.\n"
+ " -s Select svideo input.\n"
+ " -t Select tuner.\n"
+ " -g Select geometry.\n"
+ " 352x240 or 352x288 = VCD\n"
" 480x480 or 480x576 = SVCD\n"
" 352x480 or 352x576 = DVD (half D1)\n"
" 720x480 or 720x576 = DVD (full D1)\n"
@@ -68,7 +71,8 @@ usage()
" %u = Japan Broadcast / NTSC\n"
" %u = Japan Cable / NTSC\n"
" %u = Australia / PAL\n"
- " %u = France / SECAM\n" " chnl Channel\n"
+ " %u = France / SECAM\n"
+ " chnl Channel\n"
" freq Frequency in MHz (must include decimal point).\n",
CHNLSET_NABCST, CHNLSET_CABLEIRC, CHNLSET_WEUROPE, CHNLSET_JPNBCST,
CHNLSET_JPNCABLE, CHNLSET_AUSTRALIA, CHNLSET_FRANCE);
@@ -104,7 +108,7 @@ main(int argc, char *argv[])
x_size = 0;
y_size = 0;
- while ((c = getopt(argc, argv, "a:crstg:m:")) != -1)
+ while ((c = getopt(argc, argv, "a:crg:m:st")) != -1)
switch (c) {
case 'a':
if (strcasecmp(optarg, "on") == 0)