summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam')
-rw-r--r--src/cam/options.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cam/options.cpp b/src/cam/options.cpp
index 82acff9b..55c42540 100644
--- a/src/cam/options.cpp
+++ b/src/cam/options.cpp
@@ -143,9 +143,10 @@ void OptionsParser::usage()
};
if (option.argument != ArgumentNone) {
- argument += std::string(" ");
if (option.argument == ArgumentOptional)
- argument += "[";
+ argument += "[=";
+ else
+ argument += " ";
argument += option.argumentName;
if (option.argument == ArgumentOptional)
argument += "]";