From 5db7e21c5f0eca047ed3aa35c1e161b4285a19b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alain=20P=C3=A9teut?= Date: Thu, 17 Jan 2019 21:32:47 +0100 Subject: [PATCH] cli: add missing default for `generate` --- nmigen/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nmigen/cli.py b/nmigen/cli.py index 0867495..98843f2 100644 --- a/nmigen/cli.py +++ b/nmigen/cli.py @@ -16,6 +16,7 @@ def main_parser(parser=None): help="generate RTLIL or Verilog from the design") p_generate.add_argument("-t", "--type", dest="generate_type", metavar="LANGUAGE", choices=["il", "v"], + default="v", help="generate LANGUAGE (il for RTLIL, v for Verilog; default: %(default)s)") p_generate.add_argument("generate_file", metavar="FILE", type=argparse.FileType("w"), nargs="?", -- 2.30.2