from cStringIO import StringIO
import optparse as OPT
+PACKAGE = '@PACKAGE@'
+VERSION = '@VERSION@'
+
###--------------------------------------------------------------------------
### Arithmetic in GF(2^8).
###
opts, args = op.parse_args(args[1:])
sub.func(gopts, opts, args)
-OPTPARSE = SubcommandOptionParser(description = """\
+OPTPARSE = SubcommandOptionParser(
+ usage = '%prog SUBCOMMAND [ARGS ...]',
+ version = '%%prog, %s version %s' % (PACKAGE, VERSION),
+ description = """\
Split and recombine secrets using Shamir's secret sharing system.
""")