aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-07 13:08:18 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-07 13:08:18 +0200
commit6236a1042797be90224461adf23243e0bb16f2fe (patch)
tree9af394af6eae8f6d8b0dc9fce83410f545e06d91 /ice40/main.cc
parent9ebc879826cfcc43b7ed68cf3514a42cb3625177 (diff)
downloadnextpnr-6236a1042797be90224461adf23243e0bb16f2fe.tar.gz
nextpnr-6236a1042797be90224461adf23243e0bb16f2fe.tar.bz2
nextpnr-6236a1042797be90224461adf23243e0bb16f2fe.zip
Fixing file->run renaming
Signed-off-by: David Shah <davey1576@gmail.com>
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());
}