* grab-merge: Added --help option.

This commit is contained in:
Jonathan Davies 2009-03-26 22:48:07 +00:00
parent 1c2dc32484
commit 86f51ec2fd
2 changed files with 11 additions and 0 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
ubuntu-dev-tools (0.72) UNRELEASED; urgency=low
* README.updates: Added - lists steps to take when updating this package.
* grab-merge: Added --help option.
-- Jonathan Davies <jpds@ubuntu.com> Thu, 26 Mar 2009 00:22:01 +0000

View File

@ -29,6 +29,16 @@ set -e
MERGE=$1
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: $0 <package name>"
echo ""
echo "grab-merge downloads a merge's packaging files and report from"
echo "merges.ubuntu.com, placing them into a new subdirectory for working"
echo "from."
exit 0
fi
if [ "$SUBDIR" = "y" ]; then
[ -d "$MERGE" ] || mkdir $MERGE
cd $MERGE