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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index cb98d302..bde47a8f 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -38,8 +38,7 @@ static int parseOptions(int argc, char *argv[])
OptionsParser parser;
parser.addOption(OptCamera, "Specify which camera to operate on",
- "camera", OptionsParser::ArgumentRequired,
- "camera");
+ "camera", ArgumentRequired, "camera");
parser.addOption(OptHelp, "Display this help message", "help");
parser.addOption(OptList, "List all cameras", "list");