From 86604581b9727af7dcaa58fb0809967300124d79 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 30 Jun 2009 19:40:01 -0400 Subject: [PATCH] "be set-root" changed to "be init" On the advice of Martin F Krafft as posted in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477125 on Fri, 12 Jun 2009 17:03:02 +0200 --- README | 2 +- becommands/{set_root.py => init.py} | 4 ++-- test_usage.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename becommands/{set_root.py => init.py} (95%) 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 similarity index 95% rename from becommands/set_root.py rename to 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'` -- 2.26.2