[X2Go-Commits] [maintenancescripts] 03/03: git/misc/setup-repository: tweak usage message.

git-admin at x2go.org git-admin at x2go.org
Mon Mar 9 00:16:28 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit f271f65ff6cf1018543cae3c8a865f881902ca34
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Mar 9 00:16:10 2015 +0100

    git/misc/setup-repository: tweak usage message.
---
 git/misc/setup-repository |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/git/misc/setup-repository b/git/misc/setup-repository
index 8c13a50..1594cb9 100755
--- a/git/misc/setup-repository
+++ b/git/misc/setup-repository
@@ -4,16 +4,16 @@
 
 set -e
 
-USAGE="\n\
-This script is used to perform the operations needed to create a git\n\
-repository for X2go upstream.\n\
-\n\
-Usage: setup-repository <package> '<description>'\n\
-\n\
+USAGE="\
+This script is used to perform the operations needed to create a git
+repository for X2Go upstream.
+
+Usage: $(basename ${0}) <package> '<description>'
+
 Options:
-    <package> is the package name a git repository is being created for.\n\
-    <description> is a description for the git repository.\n\
-        It should be something like 'Packaging for <package>'.\n"
+\t<package> is the package name a git repository is being created for.
+\t<description> is a description for the git repository.
+\t\tIt should be something like 'Packaging for <package>'."
 
 if [ "$#" -ne "2" ]; then
         echo -e "${USAGE}"

--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list