diff options
-rw-r--r-- | giscanner/maintransformer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index fc59fa80..1a91c9fb 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -802,7 +802,8 @@ class MainTransformer(object): (param, ) = unused text = ", should be '%s'" % (param, ) else: - text = ", should be one of %s" % (', '.join("'%s'" % p for p in unused), ) + text = ", should be one of %s" % \ + (', '.join("'%s'" % p for p in sorted(unused)), ) param = block.params.get(doc_name) message.warn("%s: unknown parameter '%s' in documentation " |