Skip to content

Commit

Permalink
contrib/credential: use a lowercase "usage:" string
Browse files Browse the repository at this point in the history
Make the usage string consistent with Git.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
David Aguilar authored and Junio C Hamano committed Feb 24, 2013
1 parent d2bb624 commit c358ed7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static void usage(const char *name)
const char *basename = strrchr(name,'/');

basename = (basename) ? basename + 1 : name;
fprintf(stderr, "Usage: %s <", basename);
fprintf(stderr, "usage: %s <", basename);
while(try_op->name) {
fprintf(stderr,"%s",(try_op++)->name);
if(try_op->name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static void read_credential(void)
int main(int argc, const char **argv)
{
const char *usage =
"Usage: git credential-osxkeychain <get|store|erase>";
"usage: git credential-osxkeychain <get|store|erase>";

if (!argv[1])
die(usage);
Expand Down
2 changes: 1 addition & 1 deletion contrib/credential/wincred/git-credential-wincred.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ static void read_credential(void)
int main(int argc, char *argv[])
{
const char *usage =
"Usage: git credential-wincred <get|store|erase>\n";
"usage: git credential-wincred <get|store|erase>\n";

if (!argv[1])
die(usage);
Expand Down

0 comments on commit c358ed7

Please sign in to comment.