summaryrefslogtreecommitdiff
path: root/fastjar/jargrep.c
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-10 22:09:53 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-10 22:09:53 +0000
commit9335f62e055947bfe807c33cae0f8278de43f185 (patch)
treed3e0d1f59b18d51349495707bf5775e43086b783 /fastjar/jargrep.c
parente066915d00d3b62fe5ae5ed6e8d7b52a0e2ed1e0 (diff)
downloadgcc-9335f62e055947bfe807c33cae0f8278de43f185.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57013 138bc75d-0d04-0410-961f-82ee72b054a4
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 4c934a30403..1a9ee91be5d 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);