diff options
-rw-r--r-- | clone-pack.c | 2 | ||||
-rw-r--r-- | fetch-pack.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/clone-pack.c b/clone-pack.c index 03dbc2ead6..f634431be1 100644 --- a/clone-pack.c +++ b/clone-pack.c @@ -160,8 +160,6 @@ int main(int argc, char **argv) exec = arg + 7; continue; } - if (!strcmp("--keep", arg)) - continue; usage(clone_pack_usage); } dest = arg; diff --git a/fetch-pack.c b/fetch-pack.c index 2528053fa8..d34f322477 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -416,11 +416,11 @@ int main(int argc, char **argv) exec = arg + 7; continue; } - if (!strcmp("-q", arg)) { + if (!strcmp("--quiet", arg) || !strcmp("-q", arg)) { quiet = 1; continue; } - if (!strcmp("-k", arg)) { + if (!strcmp("--keep", arg) || !strcmp("-k", arg)) { keep_pack = 1; continue; } |