aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2009-07-01 21:20:09 -0400
committerChris Ball <cjb@laptop.org>2009-07-01 21:20:09 -0400
commit21a0bb0ae113ad9eaa6d94d36c8d0e5ca8508d7f (patch)
tree0a7cf75ff3a7c902bbe165eb5723e958b42aef47
parent90e166a0f4220bc5b662f6c0dbdbf758263760e0 (diff)
parent86604581b9727af7dcaa58fb0809967300124d79 (diff)
downloadbugseverywhere-21a0bb0ae113ad9eaa6d94d36c8d0e5ca8508d7f.tar.gz
Merge "be set-root" becomes "be init" from W. Trevor King
-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'`