From: freku045@student.liu.se Date: Sat, 10 Dec 2005 19:37:59 GMT Subject: [PATCH 17/25] git-relink: Print usage message to stderr. Message-ID: <11342434794009-git-send-email-freku045@student.liu.se> In-Reply-To: <1134243476675-git-send-email-freku045@student.liu.se> Signed-off-by: Fredrik Kuivinen --- git-relink.perl | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) c8f3a2016fcd16470507af70bf4de17de3881f6f diff --git a/git-relink.perl b/git-relink.perl index f6b4f6a..816e238 100755 --- a/git-relink.perl +++ b/git-relink.perl @@ -163,11 +163,11 @@ sub link_two_files($$) { sub usage() { - print("Usage: $0 [--safe] [ ...] \n"); - print("All directories should contain a .git/objects/ subdirectory.\n"); - print("Options\n"); - print("\t--safe\t" . + print STDERR "usage: $0 [--safe] [...] \n"; + print STDERR "All directories should contain a .git/objects/ subdirectory.\n"; + print STDERR "Options\n"; + print STDERR "\t--safe\t" . "Stops if two objects with the same hash exist but " . - "have different sizes. Default is to warn and continue.\n"); + "have different sizes. Default is to warn and continue.\n"; exit(1); } -- 0.99.9.GIT