mirror of https://github.com/YosysHQ/nextpnr.git
Proper save message
This commit is contained in:
parent
d5d8213871
commit
bab6c9a09f
|
|
@ -309,7 +309,7 @@ int CommandHandler::executeMain(std::unique_ptr<Context> ctx)
|
|||
std::string filename = vm["write"].as<std::string>();
|
||||
std::ofstream f(filename);
|
||||
if (!write_json_file(f, filename, ctx.get()))
|
||||
log_error("Loading design failed.\n");
|
||||
log_error("Saving design failed.\n");
|
||||
}
|
||||
if (vm.count("save")) {
|
||||
project.save(ctx.get(), vm["save"].as<std::string>());
|
||||
|
|
|
|||
Loading…
Reference in New Issue