summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-09 09:54:30 -0400
committerColin Walters <walters@verbum.org>2010-09-09 09:55:03 -0400
commit26395037d049fd119156052643505b224aa07d35 (patch)
tree4b3da1e7d0545fb24dc66cf325b5838ed2f8b886 /giscanner
parent16f58b1da490ea901a6a97e6a7aa5289664b3305 (diff)
scanner: Fix style for previous commit
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/scannermain.py7
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: