summaryrefslogtreecommitdiff
path: root/src/delta
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2012-11-14 00:18:02 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2012-11-14 00:18:02 +0100
commit377ec8bf1907a1a227d195cc3721c4acbad19213 (patch)
treede82dcaedf75be652d9e44d5c49e2aedca78c51c /src/delta
parente26970a82cf810fd1cad5361e1963040640405ba (diff)
delta.c: fix option '-t'
Both the help and man page claims that it accepts -t with an argument so let's do that.
Diffstat (limited to 'src/delta')
-rw-r--r--src/delta/delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index cc3420829a..a65cea51bc 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) {