fix: do not check exsitance of lib on cli.
All checks were successful
Build nix packages / build-matrix (default) (push) Successful in 30s

This commit is contained in:
xinyangli 2024-08-15 19:02:44 +08:00
parent 7b3881a971
commit 9ba8c3d97b
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -17,16 +17,12 @@ int Config::cli_parse(int argc, char **argv) {
"--images-path")
->required();
app.add_option("--ref", refs, "Reference dynamic library")
->required()
->check(CLI::ExistingFile);
app.add_option("--ref", refs, "Reference dynamic library")->required();
app.add_option("--ref-prefix", refs_prefix,
"Optional prefix for each reference library");
app.add_option("--dut", dut, "Design under test")
->required()
->check(CLI::ExistingFile);
app.add_option("--dut", dut, "Design under test")->required();
app.add_option("--dut-prefix", dut_prefix,
"Optional prefix for design under test");