by bajsejohannes · 14y ago · 0 comments
One nitpick is that there is still some repetition: "naval_fate", and well as the long options are repeated. Granted, there might be ways around that which I haven't discovered yet.
About repeating program's name (say "naval_fate"), you can do:
"""Usage: prog <bla> ...
prog <bla> --bla
"""
args = docopt(__doc__.replace('prog', 'naval_fate'))