1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-13 10:22:20 +03:00

add cli_flag for noninteractive

This commit is contained in:
Brad Warren
2016-04-04 14:26:07 -07:00
parent 4505b68a9a
commit 558806e2b7

View File

@@ -115,7 +115,7 @@ to serve all files under specified web root ({0})."""
code, index = display.menu(
"Select the webroot for {0}:".format(domain),
["Enter a new webroot"] + known_webroots,
help_label="Help")
help_label="Help", cli_flag="--" + self.option_name("path"))
if code == display_util.CANCEL:
raise errors.PluginError(
"Every requested domain must have a "