keyfunc.sh.in: Print usage summary when writing command-specific help.
[distorted-keys] / extract-profile.in
index 03fe455..0de7af0 100755 (executable)
@@ -407,7 +407,7 @@ def parse(filename, d):
 
 OP = O.OptionParser(
   usage = '%prog SECTION FILE|DIRECTORY ...',
-  version = '%%prog, version %s' % VERSION,
+  version = '%%prog, %s version %s' % (PACKAGE, VERSION),
   description = '''\
 Parse the configurations FILE and DIRECTORY contents, and output the named
 SECTION as a sequence of simple assignments.