From: Thomas Hindoe Paaboel Andersen Date: Tue, 13 Nov 2012 23:18:02 +0000 (+0100) Subject: delta.c: fix option '-t' X-Git-Tag: v196~91 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=377ec8bf1907a1a227d195cc3721c4acbad19213 delta.c: fix option '-t' Both the help and man page claims that it accepts -t with an argument so let's do that. --- diff --git a/src/delta/delta.c b/src/delta/delta.c index cc3420829..a65cea51b 100644 --- a/src/delta/delta.c +++ b/src/delta/delta.c @@ -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) {