OPTSTR
static final String OPTSTR =
Getopt g = new Getopt(CLASSNAME, args, OPTSTR);
g = new Getopt(CLASSNAME, args, OPTSTR);
while (!errflg && ((c = getopt(argc, argv, OPTSTR)) != EOF)) {
while ((opt = getopt(argc, argv, OPTSTR)) != EOF) {
"Usage: %s [-%s] file(s) ...\n", prog_name, OPTSTR);
char *optstr = OPTSTR; /* option string used by getopt() */
char *optstr = OPTSTR; /* option string used by getopt() */
"usage: %s [-%s] file(s)...\n", tool_name, OPTSTR);