aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-06-30 19:40:01 -0400
committerW. Trevor King <wking@drexel.edu>2009-06-30 19:40:01 -0400
commit86604581b9727af7dcaa58fb0809967300124d79 (patch)
tree0a7cf75ff3a7c902bbe165eb5723e958b42aef47
parent92b9b013ea13ea1278600488bc1ce65d226a92c8 (diff)
downloadbugseverywhere-86604581b9727af7dcaa58fb0809967300124d79.tar.gz
"be set-root" changed to "be init"
On the advice of Martin F Krafft <madduck@debian.org> as posted in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477125 on Fri, 12 Jun 2009 17:03:02 +0200
-rw-r--r--README2
-rw-r--r--becommands/init.py (renamed from becommands/set_root.py)4
-rwxr-xr-xtest_usage.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 6fe5d18..9562a75 100644
--- a/README
+++ b/README
@@ -13,7 +13,7 @@ Getting started
To get started, you must set the bugtracker root. Typically, you will want to
set the bug root to your project root, so that Bugs Everywhere works in any
part of your project tree.
-$ be set-root $PROJECT_ROOT
+$ be init $PROJECT_ROOT
To create bugs, use "be new $DESCRIPTION". To comment on bugs, you can can use
"be comment $BUG_ID". To close a bug, use "be close $BUG_ID". For more
diff --git a/becommands/set_root.py b/becommands/init.py
index 3749e28..e3896e9 100644
--- a/becommands/set_root.py
+++ b/becommands/init.py
@@ -79,7 +79,7 @@ def execute(args, test=False):
print "Directory initialized."
def get_parser():
- parser = cmdutil.CmdOptionParser("be set-root [DIRECTORY]")
+ parser = cmdutil.CmdOptionParser("be init [DIRECTORY]")
return parser
longhelp="""
@@ -90,7 +90,7 @@ system. You can use "be set rcs_name" to change the rcs being used.
The directory defaults to your current working directory.
It is usually a good idea to put the Bugs Everywhere root at the source code
-root, but you can put it anywhere. If you run "be set-root" in a subdirectory,
+root, but you can put it anywhere. If you run "be init" in a subdirectory,
then only bugs created in that subdirectory (and its children) will appear
there.
"""
diff --git a/test_usage.sh b/test_usage.sh
index b7391d9..b2e2cab 100755
--- a/test_usage.sh
+++ b/test_usage.sh
@@ -96,7 +96,7 @@ then # set a default ID
fi
echo "I am '$ID'"
-be set-root
+be init
OUT=`be new 'having too much fun'`
echo "$OUT"
BUG=`echo "$OUT" | sed -n 's/Created bug with ID //p'`