[gobject-introspection] [scannermain] Hide a couple of private options
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [scannermain] Hide a couple of private options
- Date: Thu, 2 Sep 2010 00:32:41 +0000 (UTC)
commit 333d1a7eb670d92d460f198e21451e30fd68575b
Author: Johan Dahlin <johan gnome org>
Date: Wed Sep 1 21:31:37 2010 -0300
[scannermain] Hide a couple of private options
giscanner/scannermain.py | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index f50ae16..3bf2249 100644
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -57,15 +57,6 @@ def _get_option_parser():
parser.add_option("-i", "--include",
action="append", dest="includes", default=[],
help="include types for other gidls")
- parser.add_option('', "--generate-typelib-tests",
- action="store", dest="test_codegen", default=None,
- help="Generate test code for given namespace,output.h,output.c")
- parser.add_option('', "--passthrough-gir",
- action="store", dest="passthrough_gir", default=None,
- help="Parse and re-output the specified GIR")
- parser.add_option('', "--reparse-validate",
- action="store_true", dest="reparse_validate_gir", default=False,
- help="After generating the GIR, re-parse it to ensure validity")
parser.add_option("", "--add-include-path",
action="append", dest="include_paths", default=[],
help="include paths for other GIR files")
@@ -127,9 +118,6 @@ match the namespace prefix.""")
parser.add_option("-v", "--verbose",
action="store_true", dest="verbose",
help="be verbose")
- parser.add_option("", "--typelib-xml",
- action="store_true", dest="typelib_xml",
- help="Just convert GIR to typelib XML")
parser.add_option("", "--xpath-assertions",
action="store", dest="xpath_assertions",
help="Use given file to create assertions on GIR content")
@@ -150,6 +138,20 @@ match the namespace prefix.""")
group.add_option("-p", dest="", help="Ignored")
parser.add_option_group(group)
+ # Private options
+ parser.add_option('', "--generate-typelib-tests",
+ action="store", dest="test_codegen", default=None,
+ help=optparse.SUPPRESS_HELP)
+ parser.add_option('', "--passthrough-gir",
+ action="store", dest="passthrough_gir", default=None,
+ help=optparse.SUPPRESS_HELP)
+ parser.add_option('', "--reparse-validate",
+ action="store_true", dest="reparse_validate_gir", default=False,
+ help=optparse.SUPPRESS_HELP)
+ parser.add_option("", "--typelib-xml",
+ action="store_true", dest="typelib_xml",
+ help=optparse.SUPPRESS_HELP)
+
return parser
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]