contrib/examples: use a lowercase "usage:" string
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>
This commit is contained in:
parent
e257f0551f
commit
beb5ab184c
@ -347,7 +347,7 @@ sub rm_remote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub add_usage {
|
sub add_usage {
|
||||||
print STDERR "Usage: git remote add [-f] [-t track]* [-m master] <name> <url>\n";
|
print STDERR "usage: git remote add [-f] [-t track]* [-m master] <name> <url>\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ our($opt_h,$opt_o,$opt_v,$opt_u,$opt_C,$opt_i,$opt_m,$opt_M,$opt_t,$opt_T,
|
|||||||
|
|
||||||
sub usage() {
|
sub usage() {
|
||||||
print STDERR <<END;
|
print STDERR <<END;
|
||||||
Usage: ${\basename $0} # fetch/update GIT from SVN
|
usage: ${\basename $0} # fetch/update GIT from SVN
|
||||||
[-o branch-for-HEAD] [-h] [-v] [-l max_rev] [-R repack_each_revs]
|
[-o branch-for-HEAD] [-h] [-v] [-l max_rev] [-R repack_each_revs]
|
||||||
[-C GIT_repository] [-t tagname] [-T trunkname] [-b branchname]
|
[-C GIT_repository] [-t tagname] [-T trunkname] [-b branchname]
|
||||||
[-d|-D] [-i] [-u] [-r] [-I ignorefilename] [-s start_chg]
|
[-d|-D] [-i] [-u] [-r] [-I ignorefilename] [-s start_chg]
|
||||||
|
Loading…
Reference in New Issue
Block a user