From f1051e5002d9d60b28396ccc7fb50aee2b76a610 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 13 Mar 2008 09:14:45 +0100 Subject: [PATCH] Better help msg. --- id-cvs-to-git.sh | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/id-cvs-to-git.sh b/id-cvs-to-git.sh index 4d07723..761b57f 100755 --- a/id-cvs-to-git.sh +++ b/id-cvs-to-git.sh @@ -1,30 +1,39 @@ #!/bin/sh # id-cvs-to-git.sh: Creates new bare Git Project from CVS # -# Usage: -# id-cvs-to-git.sh source project description -# source: is a GIT project source or 'CVS' -# project: is the GIT project name (destination) and project source (If CVS) -# description: description for the project -# -# Convert YAZ from CVS to Git and upload: -# id-cvs-to-git.sh CVS yaz "Yet another Z39.50 toolkit" -# Upload new project 'newproject' from repository ../newproject -# ic-cvs-to-git.sh ../newproject newproject "My new project" +usage() { + cat <