summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xman/docgen7
1 files changed, 3 insertions, 4 deletions
diff --git a/man/docgen b/man/docgen
index d59ff71f..73e8c852 100755
--- a/man/docgen
+++ b/man/docgen
@@ -61,8 +61,6 @@ class ConfigFile:
def manpage_output(self):
result = ".SH CONFIGURATION VARIABLES\n"
- self.variables.sort()
-
for v in self.variables:
result += ".TP\n"
result += v.manpage_output()
@@ -72,8 +70,6 @@ class ConfigFile:
def plaintext_output(self):
result = ""
- self.variables.sort()
-
w = parameter_list_width(self.variables)
for p in self.variables:
@@ -314,6 +310,9 @@ def add_parameter(param, line, config_file):
if match:
param.name = match.group(1)
config_file.add_variable(param)
+ return
+
+ raise Exception(param.text)
def process_file(file):