summaryrefslogtreecommitdiffstats
path: root/usr.bin/setchannel/setchannel.c
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2007-02-25 01:08:17 +0000
committergrog <grog@FreeBSD.org>2007-02-25 01:08:17 +0000
commit75775b9c23d4e6129d2319b6c87e27832525799b (patch)
tree1e7242e4a976e001491c0bebe4df5c7e811ec077 /usr.bin/setchannel/setchannel.c
parentaf3a046c0ac5960c5204a97bd66838fd32fccfcf (diff)
downloadFreeBSD-src-75775b9c23d4e6129d2319b6c87e27832525799b.zip
FreeBSD-src-75775b9c23d4e6129d2319b6c87e27832525799b.tar.gz
Tidy up forrmat. No functional changes.
Diffstat (limited to 'usr.bin/setchannel/setchannel.c')
-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 fd3ff7a..489ef6c 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)
OpenPOWER on IntegriCloud