]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
delta.c: fix option '-t'
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 13 Nov 2012 23:18:02 +0000 (00:18 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 13 Nov 2012 23:18:02 +0000 (00:18 +0100)
Both the help and man page claims that it accepts -t with an argument
so let's do that.

src/delta/delta.c

index cc3420829ae2d1e9615606cd6ca52b7a0d135c88..a65cea51bccc389f2db238662961261f59122012 100644 (file)
@@ -352,7 +352,7 @@ static int parse_argv(int argc, char *argv[]) {
         assert(argc >= 1);
         assert(argv);
 
-        while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) {
+        while ((c = getopt_long(argc, argv, "ht:", options, NULL)) >= 0) {
 
                 switch (c) {