Added 'version', for releasing 1.0. v1.0
authorlbatlle@npdl268.bpo.hp.com
Thu, 29 Mar 2007 11:36:12 +0200
changeset 7 17fff740794c
parent 6 0193c946ee18
child 8 a1459d83becd
Added 'version', for releasing 1.0.
bug
--- a/bug	Mon Jan 15 20:21:54 2007 +0100
+++ b/bug	Thu Mar 29 11:36:12 2007 +0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 # (encoding: UTF-8)
 #
-# Simple Bug / ToDo tracker for the command line.
+# bug 1.0 - Simple Bug / ToDo tracker for the command line.
 #  (Instructions below the license)
 # LICENSE
 # Copyright (C) 2006 LluĂ­s Batlle i Rossell
@@ -69,7 +69,7 @@
 
 function usage
 {
-	echo "Usage: $PNAME [ add | list | view | edit | delete | create | project ]"
+	echo "Usage: $PNAME [add | list | view | edit | delete | create | project | version]"
 }
 
 function create
@@ -207,6 +207,12 @@
 	tail -n $TOTAIL $BUG_PROJECT | grep -v "^#"
 }
 
+function version
+{
+	echo "bug 1.0 - Simple Bug / ToDo tracker for the command line."
+	echo "Copyright (C) 2006 Lluis Batlle i Rossell"
+}
+
 function searchline
 {	
 	ID=$1
@@ -333,6 +339,9 @@
 	l*)
 		list || exit 1
 		;;
+	ver*)
+		version || exit 1
+		;;
 	v*)
 		view $2 || exit 1
 		;;