From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: /
Date: Sun, 15 Dec 2013 04:19:50 +0000 (UTC) [thread overview]
Message-ID: <1387081069.2e86fc41814c012a379feb6a9d9767bcefd945db.mattst88@gentoo> (raw)
commit: 2e86fc41814c012a379feb6a9d9767bcefd945db
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 9 08:32:41 2013 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 04:17:49 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=2e86fc41
catalst: improve usage() output formatting slightly
W. Trevor King: Refactored Git history for Brian Dolbec's content changes.
Reviewed-by: Matt Turner <mattst88 <AT> gentoo.org>
Signed-off-by: W. Trevor King <wking <AT> tremily.us>
Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
---
catalyst | 52 +++++++++++++++++++++++++++-------------------------
1 file changed, 27 insertions(+), 25 deletions(-)
diff --git a/catalyst b/catalyst
index c62b745..4ea4248 100755
--- a/catalyst
+++ b/catalyst
@@ -24,31 +24,33 @@ __version__="2.0.15"
conf_values={}
def usage():
- print "Usage catalyst [options] [-C variable=value...] [ -s identifier]"
- print " -a --clear-autoresume clear autoresume flags"
- print " -c --config use specified configuration file"
- print " -C --cli catalyst commandline (MUST BE LAST OPTION)"
- print " -d --debug enable debugging"
- print " -f --file read specfile"
- print " -F --fetchonly fetch files only"
- print " -h --help print this help message"
- print " -p --purge clear tmp dirs,package cache and autoresume flags"
- print " -P --purgeonly clear tmp dirs,package cache and autoresume flags and exit"
- print " -T --purgetmponly clear tmp dirs and autoresume flags and exit"
- print " -s --snapshot generate a release snapshot"
- print " -V --version display version information"
- print " -v --verbose verbose output"
- print
- print "Usage examples:"
- print
- print "Using the commandline option (-C, --cli) to build a Portage snapshot:"
- print "catalyst -C target=snapshot version_stamp=my_date"
- print
- print "Using the snapshot option (-s, --snapshot) to build a release snapshot:"
- print "catalyst -s 20071121"
- print
- print "Using the specfile option (-f, --file) to build a stage target:"
- print "catalyst -f stage1-specfile.spec"
+ print """Usage catalyst [options] [-C variable=value...] [ -s identifier]
+ -a --clear-autoresume clear autoresume flags
+ -c --config use specified configuration file
+ -C --cli catalyst commandline (MUST BE LAST OPTION)
+ -d --debug enable debugging
+ -f --file read specfile
+ -F --fetchonly fetch files only
+ -h --help print this help message
+ -p --purge clear tmp dirs,package cache, autoresume flags
+ -P --purgeonly clear tmp dirs,package cache, autoresume flags and exit
+ -T --purgetmponly clear tmp dirs and autoresume flags and exit
+ -s --snapshot generate a release snapshot
+ -V --version display version information
+ -v --verbose verbose output
+
+Usage examples:
+
+Using the commandline option (-C, --cli) to build a Portage snapshot:
+catalyst -C target=snapshot version_stamp=my_date
+
+Using the snapshot option (-s, --snapshot) to build a release snapshot:
+catalyst -s 20071121"
+
+Using the specfile option (-f, --file) to build a stage target:
+catalyst -f stage1-specfile.spec
+"""
+
def version():
print "Catalyst, version "+__version__
next reply other threads:[~2013-12-15 4:20 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-15 4:19 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-30 20:42 [gentoo-commits] proj/catalyst:wip/mattst88 commit in: / Matt Turner
2021-06-11 18:29 ` [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-29 20:15 Matt Turner
2020-03-28 20:07 Matt Turner
2019-08-26 16:48 Matt Turner
2018-09-12 6:43 Brian Dolbec
2017-12-30 18:25 Brian Dolbec
2017-12-29 0:35 Brian Dolbec
2017-12-07 7:21 Brian Dolbec
2017-04-13 16:48 Mike Frysinger
2017-03-09 9:39 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2016-02-17 5:24 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2017-03-07 17:21 [gentoo-commits] proj/catalyst:catalyst_use " Brian Dolbec
2017-03-08 23:16 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2016-03-21 5:09 Mike Frysinger
2015-10-06 13:46 Mike Frysinger
2015-09-23 17:55 Richard Farina
2015-09-06 21:21 Brian Dolbec
2015-08-30 1:05 Brian Dolbec
2015-05-24 13:47 Jorge Manuel B. S. Vicetto
2015-02-26 22:18 Brian Dolbec
2015-02-26 22:18 Brian Dolbec
2015-02-26 22:18 Brian Dolbec
2015-02-26 20:44 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-02-26 22:18 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2015-02-26 19:25 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-02-26 20:12 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-02-22 21:48 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2014-03-02 15:42 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-02-11 3:02 Jorge Manuel B. S. Vicetto
2014-01-03 5:03 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2014-01-06 2:00 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2013-12-15 4:19 Matt Turner
2013-11-13 22:00 Matt Turner
2013-10-26 20:10 Matt Turner
2013-10-26 20:10 Matt Turner
2013-10-26 20:10 Matt Turner
2013-08-08 5:38 Matt Turner
2013-07-31 4:12 Matt Turner
2013-07-25 6:06 Matt Turner
2013-04-15 3:23 Jorge Manuel B. S. Vicetto
2013-03-09 2:41 Matt Turner
2012-12-04 20:46 Richard Farina
2012-11-02 0:07 Richard Farina
2012-10-31 21:58 Richard Farina
2012-09-05 1:48 Jorge Manuel B. S. Vicetto
2012-08-23 5:55 Jorge Manuel B. S. Vicetto
2012-08-23 5:55 Jorge Manuel B. S. Vicetto
2012-07-27 4:42 Jorge Manuel B. S. Vicetto
2012-07-10 18:32 [gentoo-commits] proj/catalyst:catalyst_2 " Sebastian Pipping
2012-07-10 18:33 ` [gentoo-commits] proj/catalyst:master " Sebastian Pipping
2012-07-02 14:53 Sebastian Pipping
2011-06-25 18:08 Sebastian Pipping
2011-06-25 18:08 Sebastian Pipping
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=1387081069.2e86fc41814c012a379feb6a9d9767bcefd945db.mattst88@gentoo \
--to=mattst88@gentoo.org \
--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