diff --git a/cpp/scripts/sort_ninja_log.py b/cpp/scripts/sort_ninja_log.py index 0395f219b21..5eada13aea2 100755 --- a/cpp/scripts/sort_ninja_log.py +++ b/cpp/scripts/sort_ninja_log.py @@ -12,7 +12,11 @@ "log_file", type=str, default=".ninja_log", help=".ninja_log file" ) parser.add_argument( - "--fmt", type=str, default="csv", help="output format (csv, xml, html)" + "--fmt", + type=str, + default="csv", + choices=["csv", "xml", "html"], + help="output format (to stdout)", ) parser.add_argument( "--msg",