The unified diff between revisions [24fb0b25..] and [8032bf83..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'options_list.hh'
#
#
# patch "options_list.hh"
# from [5ea48e4362ae53c3cf69b6422f98eb5a33e92086]
# to [8432925aa61ab0032d712f7a7fbb043b109f7bcb]
#
============================================================
--- options_list.hh 5ea48e4362ae53c3cf69b6422f98eb5a33e92086
+++ options_list.hh 8432925aa61ab0032d712f7a7fbb043b109f7bcb
@@ -295,11 +295,7 @@ GOPT(ssh_sign, "ssh-sign", std::string,
#endif
GOPT(ssh_sign, "ssh-sign", std::string, "yes",
- gettext_noop("controls use of ssh-agent. valid arguments are: "
- "'yes' to use ssh-agent to make signatures if possible, "
- "'no' to force use of monotone's internal code, "
- "'only' to force use of ssh-agent, "
- "'check' to sign with both and compare"))
+ gettext_noop("controls use of ssh-agent (yes|no|only|check)"))
#ifdef option_bodies
{
if (arg.empty())
@@ -308,7 +304,7 @@ GOPT(ssh_sign, "ssh-sign", std::string,
if (arg != "yes"
&& arg != "no"
&& arg != "check"
- && arg != "only") // XXX what does "only" do? not documented
+ && arg != "only")
throw bad_arg_internal(F("--ssh-sign must be set to 'yes', 'no', "
"'only', or 'check'").str());