]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Provide argument exception class and check argument length restrictions
authorDavid Howells <dhowells@redhat.com>
Mon, 14 Apr 2014 08:23:54 +0000 (09:23 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 14 Apr 2014 08:23:54 +0000 (09:23 +0100)
commit3e1358e9274da95deeee9b6a75d0197d4cbb12f0
tree0d16e810ec20a2d646a1776c9bfcc77d90b02036
parent9d6eab0e50be67be7a6201934422883578f083da
Provide argument exception class and check argument length restrictions

Create an argument error class specifically for the indication of command line
argument problems and catch it in main.py.

Further, provide checking for string arguments that have length restrictions
in the protocol.

Signed-off-by: David Howells <dhowells@redhat.com>
19 files changed:
suite/argparse.py
suite/commands/bos/addhost.py
suite/commands/bos/adduser.py
suite/commands/bos/create.py
suite/commands/bos/delete.py
suite/commands/bos/getdate.py
suite/commands/bos/removeuser.py
suite/commands/bos/setcellname.py
suite/commands/bos/shutdown.py
suite/commands/bos/start.py
suite/commands/bos/startup.py
suite/commands/bos/status.py
suite/commands/bos/stop.py
suite/commands/vos/examine.py
suite/commands/vos/listvldb.py
suite/exception.py
suite/lib/partition.py
suite/lib/uuid.py
suite/main.py