diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-09 06:00:54 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-08-09 06:00:54 +0000 |
commit | 798531f4892e970b6bf1200e3c1892cb9f216ff6 (patch) | |
tree | 57f237f7b015587a1cabe9b4cc9cd331380bacca | |
parent | e63bf84f82c528e446c5e99054b5b8f3edef60c1 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |