diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-28 12:30:02 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-28 12:30:02 +0000 |
commit | 52a5b3e8c07465ea771fe0e5b812cd72582b8166 (patch) | |
tree | 82e63a3c2914ef8b831466b0e31aef5e9fdb5e3a /xpp/twinstar | |
parent | 2b27d93d1ca382b6f105d526c66dced707134480 (diff) |
twinstar: err on an invalid command.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9031 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/twinstar')
-rwxr-xr-x | xpp/twinstar | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xpp/twinstar b/xpp/twinstar index e2f1971..287c9ef 100755 --- a/xpp/twinstar +++ b/xpp/twinstar @@ -166,6 +166,8 @@ if($ARGV[0] eq 'status') { tws_watchdog(1, @usb_devices); } elsif($ARGV[0] eq 'ports') { tws_showports(@usb_devices); +} else { + usage; } __END__ |