aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/main.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-21 13:55:36 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-21 13:55:36 +0200
commit23fe31da44a2e2596335c09ae983217ffbc8f6b1 (patch)
treed397643e5a2e700aec509658936210f425d1a916 /dummy/main.cc
parent0ed455096a9dd3b291c6b4a46b59c1ce6a506902 (diff)
downloadnextpnr-23fe31da44a2e2596335c09ae983217ffbc8f6b1.tar.gz
nextpnr-23fe31da44a2e2596335c09ae983217ffbc8f6b1.tar.bz2
nextpnr-23fe31da44a2e2596335c09ae983217ffbc8f6b1.zip
cleanup
Diffstat (limited to 'dummy/main.cc')
-rw-r--r--dummy/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dummy/main.cc b/dummy/main.cc
index 7a961760..cef70235 100644
--- a/dummy/main.cc
+++ b/dummy/main.cc
@@ -42,6 +42,8 @@ int main(int argc, char *argv[])
options.add_options()("verbose,v", "verbose output");
options.add_options()("force,f", "keep running after errors");
options.add_options()("gui", "start gui");
+ options.add_options()("run", po::value<std::vector<std::string>>(),
+ "python file to execute");
options.add_options()("version,V", "show version");
po::positional_options_description pos;
pos.add("run", -1);