aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-08-09 06:00:54 +0000
committerGuy Harris <guy@alum.mit.edu>2000-08-09 06:00:54 +0000
commit5225efe134968ea0163e16958af62d3ffc325546 (patch)
tree57f237f7b015587a1cabe9b4cc9cd331380bacca /editcap.c
parentb8a983f558e9ce4ac00653270796aba470f0d195 (diff)
Make "editcap -h" give the usage message without an error message (i.e.,
specify it in the argument to "getopt()"). svn path=/trunk/; revision=2235
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editcap.c b/editcap.c
index d0d477e14f..d1616d7612 100644
--- a/editcap.c
+++ b/editcap.c
@@ -1,7 +1,7 @@
/* Edit capture files. We can delete records, or simply convert from one
* format to another format.
*
- * $Id: editcap.c,v 1.11 2000/05/19 23:06:06 gram Exp $
+ * $Id: editcap.c,v 1.12 2000/08/09 06:00:54 guy Exp $
*
* Originally written by Richard Sharpe.
* Improved by Guy Harris.
@@ -207,7 +207,7 @@ int main(int argc, char *argv[])
/* Process the options first */
- while ((opt = getopt(argc, argv, "T:F:rvs:")) != EOF) {
+ while ((opt = getopt(argc, argv, "T:F:rvs:h")) != EOF) {
switch (opt) {