|
@@ -421,7 +421,7 @@ int G_parser(int argc, char **argv)
|
|
|
return -1;
|
|
|
}
|
|
|
else if (argc < 2 && st->has_required && isatty(0)) {
|
|
|
- G_usage();
|
|
|
+ G_usage();
|
|
|
return -1;
|
|
|
}
|
|
|
else if (argc >= 2) {
|
|
@@ -559,7 +559,7 @@ int G_parser(int argc, char **argv)
|
|
|
error += check_required();
|
|
|
|
|
|
if (error) {
|
|
|
- if (G_verbose() > G_verbose_min())
|
|
|
+ if (G_verbose() > G_verbose_std())
|
|
|
G_usage();
|
|
|
return -1;
|
|
|
}
|
|
@@ -1140,7 +1140,7 @@ static int check_required(void)
|
|
|
while (opt) {
|
|
|
if (opt->required && !opt->answer) {
|
|
|
fprintf(stderr,
|
|
|
- _("\nERROR: Required parameter <%s> not set:\n (%s).\n"),
|
|
|
+ _("ERROR: Required parameter <%s> not set:\n\t(%s)\n"),
|
|
|
opt->key, (opt->label ? opt->label : opt->description) );
|
|
|
err++;
|
|
|
}
|