diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-08-09 06:00:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-08-09 06:00:54 +0000 |
commit | 5225efe134968ea0163e16958af62d3ffc325546 (patch) | |
tree | 57f237f7b015587a1cabe9b4cc9cd331380bacca /editcap.c | |
parent | b8a983f558e9ce4ac00653270796aba470f0d195 (diff) | |
download | wireshark-5225efe134968ea0163e16958af62d3ffc325546.tar.gz wireshark-5225efe134968ea0163e16958af62d3ffc325546.tar.bz2 wireshark-5225efe134968ea0163e16958af62d3ffc325546.zip |
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.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) { |