projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b219ac2
)
nmigen.cli: fix file type autodetection code.
author
whitequark
<whitequark@whitequark.org>
Thu, 11 Jun 2020 15:36:43 +0000
(15:36 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 13:45:51 +0000
(13:45 +0000)
nmigen/cli.py
patch
|
blob
|
history
diff --git
a/nmigen/cli.py
b/nmigen/cli.py
index e6757a07fd5d708f6a803bcc5a4c035ab9cab13b..e530692ae19200e682e6ce631fb4492227eacb35 100644
(file)
--- a/
nmigen/cli.py
+++ b/
nmigen/cli.py
@@
-17,7
+17,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"
,
+ default=
None
,
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="?",