Normally I would use optparse to parse command-line arguments. In this case I need arguments like -ssh
or -telnet
(basically I need the arguments from PuTTY). Optparse only supports single letter flags with a long version (e.g. -s
and --ssh
).
Is there another class like optparse?
Slop will work for me. Thanks to Boris Pilgun