summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-27 07:04:16 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-07-27 18:53:49 (GMT)
commit54c6870ebf4c364dd809a1a58eb8485855344812 (patch)
treeeb2fbd3b0e5419b6e58b447fa00b6bd788f195d1
parentb134922992e3051e7095b1e76a89361fea86206d (diff)
downloadgit-54c6870ebf4c364dd809a1a58eb8485855344812.zip
git-54c6870ebf4c364dd809a1a58eb8485855344812.tar.gz
git-54c6870ebf4c364dd809a1a58eb8485855344812.tar.bz2
Typofix: usage strings fix.
The *_usage strings should not start with "usage: ", since the usage() function gives its own. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--patch-id.c2
-rw-r--r--prune-packed.c2
-rw-r--r--rev-list.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/patch-id.c b/patch-id.c
index 0bd640c..5a8dc75 100644
--- a/patch-id.c
+++ b/patch-id.c
@@ -67,7 +67,7 @@ static void generate_id_list(void)
flush_current_id(patchlen, sha1, &ctx);
}
-static const char patch_id_usage[] = "usage: git-patch-id < patch";
+static const char patch_id_usage[] = "git-patch-id < patch";
int main(int argc, char **argv)
{
diff --git a/prune-packed.c b/prune-packed.c
index 41ee2a7..a2f4488 100644
--- a/prune-packed.c
+++ b/prune-packed.c
@@ -1,6 +1,6 @@
#include "cache.h"
-static const char prune_packed_usage[] = "git-prune-packed: usage: git-prune-packed";
+static const char prune_packed_usage[] = "git-prune-packed (no arguments)";
static void prune_dir(int i, DIR *dir, char *pathname, int len)
{
diff --git a/rev-list.c b/rev-list.c
index 46a35d3..309070f 100644
--- a/rev-list.c
+++ b/rev-list.c
@@ -11,7 +11,7 @@
#define SHOWN (1u << 3)
static const char rev_list_usage[] =
- "usage: git-rev-list [OPTION] commit-id <commit-id>\n"
+ "git-rev-list [OPTION] commit-id <commit-id>\n"
" --max-count=nr\n"
" --max-age=epoch\n"
" --min-age=epoch\n"