[gobject-introspection] scanner: Fix style for previous commit



commit 26395037d049fd119156052643505b224aa07d35
Author: Colin Walters <walters verbum org>
Date:   Thu Sep 9 09:54:30 2010 -0400

    scanner: Fix style for previous commit

 giscanner/scannermain.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index 126ce99..609bdc1 100644
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -90,8 +90,8 @@ def _get_option_parser():
                       action="store", dest="namespace_version",
                       help="version of namespace for this unit")
     parser.add_option("", "--strip-prefix",
-		      action="store", dest="strip_prefix",
-		      help="""Option --strip-prefix is deprecated, please see --identifier-prefix
+                      action="store", dest="strip_prefix",
+                      help="""Option --strip-prefix is deprecated, please see --identifier-prefix
 and --symbol-prefix.""")
     parser.add_option("", "--identifier-prefix",
                       action="append", dest="identifier_prefixes", default=[],
@@ -246,7 +246,8 @@ def scanner_main(args):
     libraries = options.libraries
 
     if options.strip_prefix:
-	_error("Option --strip-prefix is deprecated, please see --identifier-prefix and --symbol-prefix.")
+        _error("""Option --strip-prefix has been replaced;
+see --identifier-prefix and --symbol-prefix.""")
 
     filenames = []
     for arg in args:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]