aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 445e81ba..18896142 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -236,7 +236,7 @@ int main(int argc, char *argv[])
if (vm.count("run"))
{
- std::vector<std::string> files = vm["file"].as<std::vector<std::string>>();
+ std::vector<std::string> files = vm["run"].as<std::vector<std::string>>();
for(auto filename : files)
execute_python_file(filename.c_str());
}