Merged in new --help option and manpage for grab-merge (LP: #349109).

This commit is contained in:
Jonathan Davies 2009-03-26 23:02:17 +00:00
commit ca10641308
3 changed files with 29 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 and manpage (LP: #349109).
-- Jonathan Davies <jpds@ubuntu.com> Thu, 26 Mar 2009 00:22:01 +0000

18
doc/grab-merge.1 Normal file
View File

@ -0,0 +1,18 @@
.TH grab\-merge 1 "Marh 26, 2009" "ubuntu-dev-tools"
.SH NAME
grab\-merge \- grab's a merge's files from merges.ubuntu.com.
.SH SYNOPSIS
\fBgrab\-merge\fP <\fIpackage name\fP>
.SH DESCRIPTION
\fB404main\fP is a script that downloads a merge's packaging files and report
from merges.ubuntu.com. Placing them in a new directory for working from.
.SH AUTHORS
\fBgrab\-merge\fP was written by Scott James Remnant <scott@ubuntu.com> and
this manpage by Jonathan Davies <jpds@ubuntu.com>.
.PP
Both are released under the GNU General Public License, version 2 or
later.

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