Unverified Commit 48454019 authored by Schuyler Eldridge's avatar Schuyler Eldridge Committed by GitHub
Browse files

Disallow --target-dir in ChiselStage$ (#3063)



* Refactor Shell into BareShell and Shell

Refactor firrtl.options.Shell into BareShell and Shell.  This is done to
enable the leaner BareShell to _not_ provide no command line options
other than "--help".  This enables use cases like the ChiselStage$
object which should not have options that are available to a Shell,
e.g., "--target-directory".

* Use BareShell in ChiselStage$ options (remove -td)

Change the ChiselStage$ object to use BareShell which enables this to
now reject options like "--target-directory"/"-td" which have no
effect.  Add a test that "-td" is rejected by emitCHIRRTL.

---------

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
parent 4f868dff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment