Commit 6271c6f20ec12cd937e003cb5f6c49bfef777282

Made the usage screen a little more verbose
  
8080}
8181
8282usage() {
83 echo "Usage is $0 --name <name of the project>"
83 echo " "
84 echo "Usage: "
85 echo "$0 --name <name of the project> : Create new trac project"
86 echo "$0 --help : Show this help"
87 echo " "
88 echo "-------"
89 echo "Trac Tools v0.1 (CC-SA) Servelots. 2013."
8490}
8591
8692setup() {
101101elif [ "$1" == "--name" ]; then
102102 project=$2
103103 if [ -z $project ]; then
104 echo "You have to give a project name. Please see --help."
104 echo "Please specify a project name."
105 usage
105106 exit 1;
106107 fi
107108 readConfig
108109 setup
109110else
110 echo "Invalid option. Please see --help."
111 echo "Invalid option."
112 usage
111113 exit 1;
112114fi