[gobject-introspection] g-ir-doc-tool: keep mallard as the default format

commit b9f520fa056b86daac9375b7ac584a75ab966cfd
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Fri Aug 17 22:00:24 2018 +0200

    g-ir-doc-tool: keep mallard as the default format
    In 7f67146d8254 the FORMAT list was extended but the argparser uses
    the first item as default value. This broke distcheck.

 giscanner/docmain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/giscanner/docmain.py b/giscanner/docmain.py
index 96d52750..5efcf1fe 100644
--- a/giscanner/docmain.py
+++ b/giscanner/docmain.py
@@ -48,7 +48,7 @@ def doc_main(args):
                       help="Output language")
     parser.add_argument("-f", "--format",
                         action="store", dest="format",
-                        choices=FORMATS, default=FORMATS[0],
+                        choices=FORMATS, default=FORMATS[1],
                         help="Output format")
     parser.add_argument("-I", "--add-include-path",
                       action="append", dest="include_paths", default=[],

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