summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-09-10 13:43:51 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-09-10 13:43:51 +0000
commitfb0d475ba3dbec71219f66b62e521bffedfc1874 (patch)
tree7ec157c98ba5e059718a3e29a390e6f3919be2c0
parent3e3a919a5d30ed7278b043b72322e6b47f83807c (diff)
Add -t option to getopt (bug #2412)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xztcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 8005c3f..b85cd56 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -681,7 +681,7 @@ int main(int argc, char *argv[])
char *key, *value;
int x,found;
int fd;
- while((c = getopt(argc, argv, "hc:vs")) != -1) {
+ while((c = getopt(argc, argv, "thc:vs")) != -1) {
switch(c) {
case 'c':
filename=optarg;