Unidiff1 files changed, 2 insertions, 1 deletions
|
diff --git a/cgit.c b/cgit.c index 6ece411..a792fe4 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -548,5 +548,6 @@ static void cgit_parse_args(int argc, const char **argv) |
548 | ctx.qry.ofs = atoi(argv[i]+6); |
548 | ctx.qry.ofs = atoi(argv[i]+6); |
549 | } |
549 | } |
550 | if (!strncmp(argv[i], "--scan-tree=", 12)) { |
550 | if (!strncmp(argv[i], "--scan-tree=", 12) || |
| |
551 | !strncmp(argv[i], "--scan-path=", 12)) { |
551 | scan++; |
552 | scan++; |
552 | scan_tree(argv[i] + 12); |
553 | scan_tree(argv[i] + 12); |
|