Rename "yosys -U" to "yosys -P" to avoid confusion about "undefine"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2019-02-21 15:51:59 +01:00
parent 953e0bf88d
commit 0a6588569b
1 changed files with 3 additions and 3 deletions

View File

@ -272,7 +272,7 @@ int main(int argc, char **argv)
printf(" -D <macro>[=<value>]\n"); printf(" -D <macro>[=<value>]\n");
printf(" set the specified Verilog define (via \"read -define\")\n"); printf(" set the specified Verilog define (via \"read -define\")\n");
printf("\n"); printf("\n");
printf(" -U <header_id>[:<filename>]\n"); printf(" -P <header_id>[:<filename>]\n");
printf(" dump the design when printing the specified log header to a file.\n"); printf(" dump the design when printing the specified log header to a file.\n");
printf(" yosys_dump_<header_id>.il is used as filename if none is specified.\n"); printf(" yosys_dump_<header_id>.il is used as filename if none is specified.\n");
printf(" Use 'ALL' as <header_id> to dump at every header.\n"); printf(" Use 'ALL' as <header_id> to dump at every header.\n");
@ -311,7 +311,7 @@ int main(int argc, char **argv)
} }
int opt; int opt;
while ((opt = getopt(argc, argv, "MXAQTVSm:f:Hh:b:o:p:l:L:qv:tds:c:W:w:e:D:U:E:")) != -1) while ((opt = getopt(argc, argv, "MXAQTVSm:f:Hh:b:o:p:l:L:qv:tds:c:W:w:e:D:P:E:")) != -1)
{ {
switch (opt) switch (opt)
{ {
@ -414,7 +414,7 @@ int main(int argc, char **argv)
case 'D': case 'D':
vlog_defines.push_back(optarg); vlog_defines.push_back(optarg);
break; break;
case 'U': case 'P':
{ {
auto args = split_tokens(optarg, ":"); auto args = split_tokens(optarg, ":");
if (!args.empty() && args[0] == "ALL") { if (!args.empty() && args[0] == "ALL") {