chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26970a
)
delta.c: fix option '-t'
author
Thomas Hindoe Paaboel Andersen
<phomes@gmail.com>
Tue, 13 Nov 2012 23:18:02 +0000
(
00:18
+0100)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/src/delta/delta.c
b/src/delta/delta.c
index cc3420829ae2d1e9615606cd6ca52b7a0d135c88..a65cea51bccc389f2db238662961261f59122012 100644
(file)
--- 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, "h
t:
", options, NULL)) >= 0) {
switch (c) {