The patch number 1344 was added via Manu Abraham <[email protected]>
to http://linuxtv.org/hg/dvb-apps master development tree.

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Janne Grunau  <[email protected]>
czap: reformat and extend usage string



---

 util/szap/czap.c |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff -r ae31d9c51ca4 -r e994c0877f9b util/szap/czap.c
--- a/util/szap/czap.c  Wed Feb 10 22:56:19 2010 +0400
+++ b/util/szap/czap.c  Wed Feb 10 22:58:12 2010 +0400
@@ -241,9 +241,19 @@
 }
 
 
-static const char *usage = "\nusage: %s [-a adapter_num] [-f frontend_id] [-d 
demux_id] [-c conf_file] [ -H ] {<channel name>| -n channel_num} [-x]\n"
-       "   or: %s [-c conf_file]  -l\n\n";
-
+static const char *usage =
+    "\nusage: %s [options]  -l\n"
+    "         list known channels\n"
+    "       %s [options] {-n channel-number|channel_name}\n"
+    "         zap to channel via number or full name (case insensitive)\n"
+    "     -a number : use given adapter (default 0)\n"
+    "     -f number : use given frontend (default 0)\n"
+    "     -d number : use given demux (default 0)\n"
+    "     -c file   : read channels list from 'file'\n"
+    "     -x        : exit after tuning\n"
+    "     -H        : human readable output\n"
+    "     -r        : set up /dev/dvb/adapterX/dvr0 for TS recording\n"
+;
 
 int main(int argc, char **argv)
 {


---

Patch is available at: 
http://linuxtv.org/hg/dvb-apps/rev/e994c0877f9b115fcf44280d8ac9c157ee99f329

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to