xwait, xtell: Add short help options!
authorMark Wooding <mdw@distorted.org.uk>
Thu, 6 Sep 2007 14:29:58 +0000 (15:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 6 Sep 2007 14:29:58 +0000 (15:29 +0100)
xtell.c
xwait.c

diff --git a/xtell.c b/xtell.c
index b0f4522..961cc2e 100644 (file)
--- a/xtell.c
+++ b/xtell.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
       {        0,              0,              0,      0 }
     };
 
-    int i = mdwopt(argc, argv, "d:a:m:", opt, 0, 0, 0);
+    int i = mdwopt(argc, argv, "huvd:a:m:", opt, 0, 0, 0);
     if (i < 0)
       break;
     switch (i) {
diff --git a/xwait.c b/xwait.c
index 597d142..606321a 100644 (file)
--- a/xwait.c
+++ b/xwait.c
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
       {        0,              0,                      0,      0 }
     };
 
-    int i = mdwopt(argc, argv, "d:a:m:f", opt, 0, 0, 0);
+    int i = mdwopt(argc, argv, "huvd:a:m:f", opt, 0, 0, 0);
     if (i < 0)
       break;
     switch (i) {