From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: bin/build/
Date: Fri, 18 Jul 2014 16:20:05 +0000 (UTC) [thread overview]
Message-ID: <1405697812.9fd99e101f586bf91f551b79e8296ca4a5c9ce41.dywi@gentoo> (raw)
commit: 9fd99e101f586bf91f551b79e8296ca4a5c9ce41
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Fri Jul 18 15:36:52 2014 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Fri Jul 18 15:36:52 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=9fd99e10
bin/build/setver.sh: --help
---
bin/build/setver.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/bin/build/setver.sh b/bin/build/setver.sh
index bf5bf67..221bb40 100755
--- a/bin/build/setver.sh
+++ b/bin/build/setver.sh
@@ -2,6 +2,8 @@
#
# Sets roverlay's version.
#
+print_help() {
+cat << EOF | sed -re 's,^[#]\s?,,'
# Usage: setver [-S,--src <dir>] [--pretend] [--suffix <str>] [--reset]
# [--git-add] [--git-commit] [--force-commit] [--git-tag]
# [+,pbump|++,mbump|Mbump|[setver] <ver>]
@@ -24,6 +26,8 @@
# --force-commit -- enforce git commit (allow other files)
# --git-tag -- run git-tag <newver> after git-commit
#
+EOF
+}
set -e
set -u
readonly IFS_DEFAULT="${IFS}"
@@ -194,6 +198,10 @@ while [ ${#} -gt 0 ]; do
echo "VERSION"
exit 0
;;
+ -h|--help)
+ print_help
+ exit 0
+ ;;
*)
die "unknown arg: ${1}" 64
next reply other threads:[~2014-07-18 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 16:20 André Erdmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-07-18 16:20 [gentoo-commits] proj/R_overlay:master commit in: bin/build/ André Erdmann
2014-06-05 22:09 André Erdmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405697812.9fd99e101f586bf91f551b79e8296ca4a5c9ce41.dywi@gentoo \
--to=dywi@mailerd.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox