aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/getopt.h b/src/cmd/getopt.h
index 4fecada2a..40558aec8 100644
--- a/src/cmd/getopt.h
+++ b/src/cmd/getopt.h
@@ -56,7 +56,7 @@ class OptionParser
for(auto flag : flags)
{
- o << flag.name();
+ o << "--" << flag.name();
if(flag.takes_arg())
o << "=";
o << " ";