diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-01 21:31:37 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-01 21:31:37 -0300 |
commit | 333d1a7eb670d92d460f198e21451e30fd68575b (patch) | |
tree | 9a91ee183910e3285b01cdb228ee7a030e5045a1 /giscanner/scannermain.py | |
parent | 47d1f9c949d37ad792c82d70a0043668db66e576 (diff) | |
download | gobject-introspection-333d1a7eb670d92d460f198e21451e30fd68575b.tar.gz |
[scannermain] Hide a couple of private options
Diffstat (limited to 'giscanner/scannermain.py')
-rw-r--r-- | giscanner/scannermain.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py index f50ae161..3bf2249c 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 |