From: Alain Péteut Date: Thu, 17 Jan 2019 20:32:47 +0000 (+0100) Subject: cli: add missing default for `generate` X-Git-Tag: working~70 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60089db07574b266004499b209eeb7822479c43d;p=nmigen.git cli: add missing default for `generate` --- 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="?",