2013-01-23 14:44:07 +01:00
|
|
|
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(-)
|
|
|
|
|
2013-03-20 11:29:34 +01:00
|
|
|
Index: systemd-195/src/delta/delta.c
|
|
|
|
===================================================================
|
|
|
|
--- systemd-195.orig/src/delta/delta.c
|
|
|
|
+++ systemd-195/src/delta/delta.c
|
|
|
|
@@ -375,7 +375,7 @@ static int parse_argv(int argc, char *ar
|
2013-01-23 14:44:07 +01:00
|
|
|
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) {
|
|
|
|
|