clone-pack: remove unused and undocumented --keep flag

While we are at it, give fully spelled --keep to fetch-pack.
Also give --quiet in addition to -q to fetch-pack as well.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-12-18 01:55:29 -08:00
Родитель ad89721508
Коммит 2247efb40b
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -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;

Просмотреть файл

@ -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;
}