aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-08-09 06:00:54 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-08-09 06:00:54 +0000
commit798531f4892e970b6bf1200e3c1892cb9f216ff6 (patch)
tree57f237f7b015587a1cabe9b4cc9cd331380bacca
parente63bf84f82c528e446c5e99054b5b8f3edef60c1 (diff)
Make "editcap -h" give the usage message without an error message (i.e.,
specify it in the argument to "getopt()"). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2235 f5534014-38df-0310-8fa8-9805f1628bb7
-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) {