diff options
author | Rob Austein <sra@hactrn.net> | 2010-05-06 22:44:32 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-05-06 22:44:32 +0000 |
commit | c548642d6401f6ab8ceec1c9f18fb2c9339d353a (patch) | |
tree | 27483b50c1c63eb2af3b9c3e9c68f38f531abee2 /scripts/roa-to-irr.py | |
parent | b566995e5747f6f773f881819e9249736a13a321 (diff) |
Tweak usage message.
svn path=/scripts/roa-to-irr.py; revision=3241
Diffstat (limited to 'scripts/roa-to-irr.py')
-rw-r--r-- | scripts/roa-to-irr.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/scripts/roa-to-irr.py b/scripts/roa-to-irr.py index 788e8dd9..4c3ba43b 100644 --- a/scripts/roa-to-irr.py +++ b/scripts/roa-to-irr.py @@ -1,6 +1,23 @@ """ Generate IRR route and route6 objects from ROAs. +The only required argument is the name of a directory tree containing +the validated outpt of an rcynic run. If you follow the default +naming scheme this will be /some/where/rcynic-data/authenticated. + +If given the --output option, the argument to that option will be +interpreted as the name of a directory (which will be created if it +does not already exist) in which to write route and route6 objects, +one object per file. + +If not given the --output option, this program will write all the +route and route6 objects to standard output, separated by blank +lines. + +The other options allow control of several required fields, to let you +change email addresses and so forth if the defaults values 't right. + + $Id$ Copyright (C) 2010 Internet Systems Consortium ("ISC") @@ -120,7 +137,7 @@ def usage(code = 1): f = sys.stderr if code else sys.stdout f.write("Usage: %s [options] rcynic-data/authenticated\n\nOptions:\n" % sys.argv[0]) for opt in options: - f.write(" --" + (opt[:-1] if "=" in opt else opt) + "\n") + f.write(" --" + ((opt[:-1] + " argument") if "=" in opt else opt) + "\n") f.write(__doc__) sys.exit(code) |