aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrpkid/rpki-confgen4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki-confgen b/rpkid/rpki-confgen
index d8408321..dea54ac4 100755
--- a/rpkid/rpki-confgen
+++ b/rpkid/rpki-confgen
@@ -61,7 +61,7 @@ class Option(object):
if self.value is None:
f.write("\n%s\n" % wiki_wrapper.fill("No default value."))
else:
- f.write("\n%s\n" % wiki_wrapper.fill("Default: `%s`" % self.value))
+ f.write("\n {{{\n #!ini\n %s = %s\n }}}\n" % (self.name, self.value))
def to_conf(self, f, width):
for i, d in enumerate(self.doc):
@@ -101,7 +101,7 @@ class Section(object):
return x
def to_wiki(self, f):
- f.write("\n= ![%s] section = #%s\n" % (self.name, self.name))
+ f.write("\n= [%s] section = #%s\n" % (self.name, self.name))
for d in self.doc:
f.write("\n%s\n" % text_wrapper.fill(d))
for o in self.options: