Code

Remove -d from *-fetch usage strings
authorPetr Baudis <pasky@suse.cz>
Thu, 27 Jul 2006 18:58:53 +0000 (20:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 27 Jul 2006 21:21:03 +0000 (14:21 -0700)
This is a really ancient remnant of the short era of delta objects stored
directly in the object database.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c
local-fetch.c
ssh-fetch.c

index 12493fbed2822ce41b5b4c23fb85d6f4a47c104a..dc286b79f614a1e2c9ef2c21c2cc198bab973843 100644 (file)
@@ -1245,7 +1245,7 @@ int main(int argc, char **argv)
                arg++;
        }
        if (argc < arg + 2) {
-               usage("git-http-fetch [-c] [-t] [-a] [-d] [-v] [--recover] [-w ref] commit-id url");
+               usage("git-http-fetch [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url");
                return 1;
        }
        commit_id = argv[arg];
index ffa4887570319a2cbcf4042bd6e00063a48a4b6d..a05ac16cd03df8a07fd51b3b6df7735141152065 100644 (file)
@@ -194,9 +194,9 @@ int fetch_ref(char *ref, unsigned char *sha1)
 }
 
 static const char local_pull_usage[] =
-"git-local-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
+"git-local-fetch [-c] [-t] [-a] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
 
-/* 
+/*
  * By default we only use file copy.
  * If -l is specified, a hard link is attempted.
  * If -s is specified, then a symlink is attempted.
index 28f7fd9174e8c48493983b17fa7b18cdecd41609..a8a6cfbb30ed5152afd56318dc1e697ba0beacc2 100644 (file)
@@ -120,7 +120,7 @@ int fetch_ref(char *ref, unsigned char *sha1)
 
 static const char ssh_fetch_usage[] =
   MY_PROGRAM_NAME
-  " [-c] [-t] [-a] [-v] [-d] [--recover] [-w ref] commit-id url";
+  " [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url";
 int main(int argc, char **argv)
 {
        char *commit_id;