From e4429067461eb4d3833a3a0ae1fa9785bf808791 Mon Sep 17 00:00:00 2001 From: Cyril Matthey-Doret Date: Mon, 10 Feb 2020 18:51:21 +0100 Subject: [PATCH] fix command line flag to match help (-d -> -D) --- dotter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotter.c b/dotter.c index b0d3175..3fcc381 100644 --- a/dotter.c +++ b/dotter.c @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) else if (c == 'w') width = atoi(optarg); else if (c == 'f') font_size = atoi(optarg); else if (c == 'L') no_label = 1; - else if (c == 'd') diagonal = 0; + else if (c == 'D') diagonal = 0; } if (argc == optind) { fprintf(stderr, "Usage: minidot [options] \n");