summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r--src/cam/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index c7f664b9..9c3370d7 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -158,6 +158,10 @@ int CamApp::parseOptions(int argc, char *argv[])
"Print the metadata for completed requests",
"metadata", ArgumentNone, nullptr, false,
OptCamera);
+ parser.addOption(OptCaptureScript, OptionString,
+ "Load a capture session configuration script from a file",
+ "script", ArgumentRequired, "script", false,
+ OptCamera);
options_ = parser.parse(argc, argv);
if (!options_.valid())