diff options
Diffstat (limited to 'src/lib/arg.c')
-rw-r--r-- | src/lib/arg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/arg.c b/src/lib/arg.c index 3db3e8f..5437f99 100644 --- a/src/lib/arg.c +++ b/src/lib/arg.c @@ -1,9 +1,10 @@ -#include "arg.h" -#include "util.h" #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "arg.h" +#include "util.h" + #define LAT_USAGE "usage: lat [-cnbVh] [files..]" void help(void) { @@ -41,7 +42,7 @@ void parselongarg(char *arg) { return; } - if (strcmp(arg, "--headers")) { + if (strcmp(arg, "--headers") == 0) { conf.headers = !conf.headers; return; } |