From aa265ebff4fd94b1bfa152a116d6d5fa1971b727 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 19 Mar 2018 11:23:24 -0500 Subject: Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing wouldn't let him assign a negative default value, so I fixed it. --- scripts/mkflags.c | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/mkflags.c b/scripts/mkflags.c index e0e833ce..c96f7f55 100644 --- a/scripts/mkflags.c +++ b/scripts/mkflags.c @@ -110,6 +110,7 @@ struct flag *digest(char *string) if (strchr("?&^-:#|@*; ", *string)) string++; else if (strchr("=<>", *string)) { + if (string[1]=='-') string++; if (!isdigit(string[1])) { fprintf(stderr, "%c without number in '%s'", *string, err); exit(1); -- cgit v1.2.3