From d7cbc587a4bda464ae9336d6f756055b93cf8cca Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 2 Dec 2009 19:45:45 +0000 Subject: patgen and pattest: channel by number Allow pattest and patgen to get the DAHDI channel by number rather than with an explicit device file. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7658 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- doc/patgen.8 | 10 ++++++---- doc/pattest.8 | 11 ++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/patgen.8 b/doc/patgen.8 index 1e5102e..75d9670 100644 --- a/doc/patgen.8 +++ b/doc/patgen.8 @@ -1,4 +1,4 @@ -.TH patgen 8 "2008-01-08" +.TH patgen 8 "2 Dec 2009" .SH NAME patgen \(em Generates a Pattern for a DAHDI Clear Channel Test .SH SYNOPSIS @@ -18,15 +18,17 @@ channel used by Asterisk. .SH OPTIONS .I dahdi-device .RS -A DAHDI device file. +A DAHDI device. Can be either a device number or an explicit device file +name .RE .SH EXAMPLE patgen /dev/dahdi/5 + patgen 305 + .SH BUGS -Will not work with channels whose number > 249 as they don't have device -files. For a simple workaround, see dahdi_diag.c . +Waiting for you to report them at . .SH SEE ALSO pattest(8), dahdi_cfg(8), asterisk(8). diff --git a/doc/pattest.8 b/doc/pattest.8 index 9fbbd36..ca90686 100644 --- a/doc/pattest.8 +++ b/doc/pattest.8 @@ -1,4 +1,4 @@ -.TH pattest 8 "2008-01-08" +.TH pattest 8 "2 Dec 2009" .SH NAME pattest \(em Tests a Pattern for a DAHDI Clear Channel Test .SH SYNOPSIS @@ -22,16 +22,17 @@ output, all is well. Output is an error message. .SH OPTIONS .I dahdi-device .RS -A DAHDI device file. +A DAHDI device. Can be either a device number or an explicit device file +name .RE .SH EXAMPLE pattest /dev/dahdi/5 -.SH BUGS -Will not work with channels whose number > 249 as they don't have device -files. For a simple workaround, see dahdi_diag.c . + pattest 305 +.RE +.SH BUGS Gives way too many errors when does not get any input. .SH SEE ALSO -- cgit v1.2.3