forked from pool/systemd
28 lines
825 B
Diff
28 lines
825 B
Diff
|
From 377ec8bf1907a1a227d195cc3721c4acbad19213 Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
|
||
|
Date: Wed, 14 Nov 2012 00:18:02 +0100
|
||
|
Subject: [PATCH] delta.c: fix option '-t'
|
||
|
|
||
|
Both the help and man page claims that it accepts -t with an argument
|
||
|
so let's do that.
|
||
|
---
|
||
|
src/delta/delta.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/delta/delta.c b/src/delta/delta.c
|
||
|
index cc34208..a65cea5 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) {
|
||
|
|
||
|
--
|
||
|
1.7.10.4
|
||
|
|