CommandLineInterface: In error message about options disallowed in assembly mode only include the names of actually used options

This commit is contained in:
Kamil Śliwak
2020-06-29 15:23:13 +02:00
parent 8fde9fd1c3
commit 3f3f8adcb8
6 changed files with 15 additions and 3 deletions
@@ -0,0 +1 @@
--strict-assembly --optimize-yul
@@ -0,0 +1 @@
The following options are invalid in assembly mode: --optimize-yul. Optimization is disabled by default and can be enabled with --optimize.
@@ -0,0 +1 @@
1
@@ -0,0 +1,3 @@
{
sstore(0, 1)
}
@@ -1 +1 @@
The following options are invalid in assembly mode: --output-dir, --gas, --combined-json, --optimize-yul, --no-optimize-yul. Optimization is disabled by default and can be enabled with --optimize.
The following options are invalid in assembly mode: --output-dir.