aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-08 20:45:27 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-08 20:45:40 +0100
commit1602699213ff08c19d47fc1eaf18ce791d724ef7 (patch)
tree8679cedb7afda4881f249f00f951db69a3487ce0
parenta63914cd305c760c4633f548821c333a6eb0805d (diff)
downloadpaludis-1602699213ff08c19d47fc1eaf18ce791d724ef7.tar.gz
paludis-1602699213ff08c19d47fc1eaf18ce791d724ef7.tar.xz
fix
-rw-r--r--paludis/args/args_option.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/args/args_option.cc b/paludis/args/args_option.cc
index b7b16ef..979d670 100644
--- a/paludis/args/args_option.cc
+++ b/paludis/args/args_option.cc
@@ -210,7 +210,7 @@ const std::string
StringSetArg::forwardable_string() const
{
if (specified())
- return "--" + long_name() + " " + join(begin_args(), end_args(), " ");
+ return "--" + long_name() + " " + join(begin_args(), end_args(), " --" + long_name() + " ");
else
return "";
}
@@ -258,7 +258,7 @@ const std::string
StringSequenceArg::forwardable_string() const
{
if (specified())
- return "--" + long_name() + " " + join(begin_args(), end_args(), " ");
+ return "--" + long_name() + " " + join(begin_args(), end_args(), " --" + long_name() + " ");
else
return "";
}