aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-07-28 05:51:52 -0600
committerArnold D. Robbins <arnold@skeeve.com>2019-07-28 05:51:52 -0600
commit795a06b58cdea7f8bb1858e7c383582c660fdf85 (patch)
tree580654df6413567487f89b62506bd74ea28cacff /main.c
parentcebda366a942aed45f7087b4ff74921da431cdbf (diff)
downloadone-true-awk-795a06b58cdea7f8bb1858e7c383582c660fdf85.tar.gz
Remove trailing whitespace on lines in all files.
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 0f66a37..e19a1b4 100644
--- a/main.c
+++ b/main.c
@@ -69,8 +69,8 @@ int main(int argc, char *argv[])
setlocale(LC_NUMERIC, "C"); /* for parsing cmdline & prog */
cmdname = argv[0];
if (argc == 1) {
- fprintf(stderr,
- "usage: %s [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]\n",
+ fprintf(stderr,
+ "usage: %s [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]\n",
cmdname);
exit(1);
}
@@ -101,14 +101,14 @@ int main(int argc, char *argv[])
case 'f': /* next argument is program filename */
if (argv[1][2] != 0) { /* arg is -fsomething */
if (npfile >= MAX_PFILE - 1)
- FATAL("too many -f options");
+ FATAL("too many -f options");
pfile[npfile++] = &argv[1][2];
} else { /* arg is -f something */
argc--; argv++;
if (argc <= 1)
FATAL("no program filename");
if (npfile >= MAX_PFILE - 1)
- FATAL("too many -f options");
+ FATAL("too many -f options");
pfile[npfile++] = argv[1];
}
break;