summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b134922)
raw | patch | inline | side by side (parent: b134922)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 27 Jul 2005 07:04:16 +0000 (00:04 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 27 Jul 2005 18:53:49 +0000 (11:53 -0700) |
The *_usage strings should not start with "usage: ", since the
usage() function gives its own.
Signed-off-by: Junio C Hamano <junkio@cox.net>
usage() function gives its own.
Signed-off-by: Junio C Hamano <junkio@cox.net>
patch-id.c | patch | blob | history | |
prune-packed.c | patch | blob | history | |
rev-list.c | patch | blob | history |
diff --git a/patch-id.c b/patch-id.c
index 0bd640cc481eddc72e37a864b115f4d6ba7883b1..5a8dc75d0e0184f8a4afa53e22b44d20f060685f 100644 (file)
--- a/patch-id.c
+++ b/patch-id.c
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 41ee2a73bc325dd35831431ddfc176c1a19397df..a2f448830c8c89cd19f82f2ec215ad349583777e 100644 (file)
--- a/prune-packed.c
+++ b/prune-packed.c
#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 46a35d30e154d493d9f5c7b16af067023cdf01d5..309070fedd74b5aae204694fd40ebd48827e03f2 100644 (file)
--- a/rev-list.c
+++ b/rev-list.c
#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"