Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=afad7705fb140e20effc7c5a1c27122db50ebf74
commit afad7705fb140e20effc7c5a1c27122db50ebf74 Author: VMiklos <[EMAIL PROTECTED]> Date: Mon Oct 1 16:37:12 2007 +0200 pootle-update: added a manpage diff --git a/pootle-update b/pootle-update index 7c06a06..eb6c55b 100644 --- a/pootle-update +++ b/pootle-update @@ -1,5 +1,15 @@ #!/bin/bash +if [ "$1" == "-h" -o "$1" == "--help" ]; then + man pootle-update + exit $? +fi + +if [ "$1" == "-v" -o "$1" == "--version" ]; then + pacman-g2 -Q pacman-tools + exit $? +fi + cd $1 # FIXME: hard-wiring such a list to here is very ugly diff --git a/pootle-update.txt b/pootle-update.txt new file mode 100644 index 0000000..7e66995 --- /dev/null +++ b/pootle-update.txt @@ -0,0 +1,23 @@ += pootle-update(1) + +== NAME + +pootle-update - updates local pot templates from a server + +== SYNOPSIS + +pootle-update [options | <path>] + +== OPTIONS + +--help:: + Display this manpage. + +--version:: + Display the package version. + +== DESCRIPTION + +If no options used, the <path> parameter is required. + +Example: /usr/lib/python2.5/site-packages/Pootle/po _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
