aboutsummaryrefslogtreecommitdiff
path: root/fastjar/jargrep.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2002-09-10 22:09:53 +0000
committerMatthias Klose <doko@gcc.gnu.org>2002-09-10 22:09:53 +0000
commit42ac7b6d2ff3aeb16b4bf0c21a5894243595a37a (patch)
treed3e0d1f59b18d51349495707bf5775e43086b783 /fastjar/jargrep.c
parentd27442c936f55db02fafd83392127a258cf6f623 (diff)
downloadgcc-42ac7b6d2ff3aeb16b4bf0c21a5894243595a37a.zip
gcc-42ac7b6d2ff3aeb16b4bf0c21a5894243595a37a.tar.gz
gcc-42ac7b6d2ff3aeb16b4bf0c21a5894243595a37a.tar.bz2
fastjar.texi: New.
2002-09-10 Matthias Klose <doko@debian.org> * fastjar.texi: New. * Makefile.am: Support building info docs and manpages. * Makefile.in: Regenerated. * configure.in: Set gcc_version. * configure: Regenerated. * jargrep.c: Update usage and help strings. From-SVN: r57013
Diffstat (limited to 'fastjar/jargrep.c')
-rw-r--r--fastjar/jargrep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fastjar/jargrep.c b/fastjar/jargrep.c
index 4c934a3..1a9ee91 100644
--- a/fastjar/jargrep.c
+++ b/fastjar/jargrep.c
@@ -126,7 +126,7 @@ will test some other platforms later.
void version(void);
void help(const char *name);
-#define Usage "Usage: %s [-bcinsw] <-e PATTERN | PATTERN> FILE ...\n"
+#define Usage "Usage: %s [-bcinsVw] [--version|--help] <-e PATTERN | PATTERN> FILE ...\n"
/*
Function name: opt_valid
@@ -769,7 +769,9 @@ Search files in a jar file for a pattern.\n\
-n print line number of each match\n\
-s suppress error messages\n\
-w force PATTERN to match only whole words\n\
- -e PATTERN use PATTERN as regular exprssion\n\
+ -e PATTERN use PATTERN as regular expression\n\
+ -V|--version print version number and exit\n\
+ --help print help\n\
");
exit (0);