aboutsummaryrefslogtreecommitdiff
path: root/gg.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-27 10:37:28 +0000
committerOmar Polo <op@omarpolo.com>2022-01-27 10:37:28 +0000
commite89f4739041b12a3984107704ad97bcf5f0aec26 (patch)
tree62972fd38960537ff3842878cc9c29fb4b081b80 /gg.c
parente0f6dc646d6c257869c17f16db977cd064262830 (diff)
s/whole/all
Diffstat (limited to 'gg.c')
-rw-r--r--gg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gg.c b/gg.c
index b70fd63..8765b11 100644
--- a/gg.c
+++ b/gg.c
@@ -28,7 +28,7 @@ enum debug {
DEBUG_CODE,
DEBUG_HEADER,
DEBUG_META,
- DEBUG_WHOLE,
+ DEBUG_ALL,
};
/* flags */
@@ -278,7 +278,7 @@ get(const char *r)
goto close;
}
- if (debug == DEBUG_WHOLE) {
+ if (debug == DEBUG_ALL) {
write(1, buf, len);
continue;
}
@@ -322,8 +322,8 @@ parse_debug(const char *arg)
return DEBUG_HEADER;
if (!strcmp(arg, "meta"))
return DEBUG_META;
- if (!strcmp(arg, "whole"))
- return DEBUG_WHOLE;
+ if (!strcmp(arg, "all"))
+ return DEBUG_ALL;
usage();
}