aboutsummaryrefslogtreecommitdiff
path: root/unprotbas.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-22 13:29:19 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-22 13:29:19 -0400
commite40fe3585d07a6b8beee0dddf7d3d1defa3cf140 (patch)
tree33ebdb68ba3ee9b41ae415033c57584bc13b4e61 /unprotbas.c
parentafc94c493aa6b5a684156a9fda4ef31a9fb201c1 (diff)
downloadbw-atari8-tools-e40fe3585d07a6b8beee0dddf7d3d1defa3cf140.tar.gz
all basic tools: help message goes to stdout, not stderr.
Diffstat (limited to 'unprotbas.c')
-rw-r--r--unprotbas.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/unprotbas.c b/unprotbas.c
index 5bde236..3c53492 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -386,15 +386,15 @@ void apply_var_map(void) {
}
void print_help(void) {
- fprintf(stderr, "Usage: %s [-v] [-f] [-n] [-g] [-c] [-r|-w] <inputfile> <outputfile>\n", self);
- fprintf(stderr, " -v: Verbose.\n");
- fprintf(stderr, " -f: Force variable name table rebuild.\n");
- fprintf(stderr, " -n: Do not rebuild variable name table, even if it's invalid.\n");
- fprintf(stderr, " -g: Remove trailing garbage, if present.\n");
- fprintf(stderr, " -c: Check only; no output file.\n");
- fprintf(stderr, " -w: Write variable names to 'varnames.txt'.\n");
- fprintf(stderr, " -r: Read variable names from 'varnames.txt'.\n");
- fprintf(stderr, "Use - as a filename to read from stdin and/or write to stdout.\n");
+ printf("Usage: %s [-v] [-f] [-n] [-g] [-c] [-r|-w] <inputfile> <outputfile>\n", self);
+ printf(" -v: Verbose.\n");
+ printf(" -f: Force variable name table rebuild.\n");
+ printf(" -n: Do not rebuild variable name table, even if it's invalid.\n");
+ printf(" -g: Remove trailing garbage, if present.\n");
+ printf(" -c: Check only; no output file.\n");
+ printf(" -w: Write variable names to 'varnames.txt'.\n");
+ printf(" -r: Read variable names from 'varnames.txt'.\n");
+ printf("Use - as a filename to read from stdin and/or write to stdout.\n");
}
void parse_args(int argc, char **argv) {