Changeset 4453:68b2d1c18b29 in livinglogic.python.xist for src/ll/scripts/ucat.py

Show
Ignore:
Timestamp:
04/07/11 18:17:26 (8 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add an epilog to all scripts that points to the online documentation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/scripts/ucat.py

    r4437 r4453  
    122122                        raise 
    123123 
    124     p = argparse.ArgumentParser(description="print URL content on the screen") 
     124    p = argparse.ArgumentParser(description="print URL content on the screen", epilog="For more info see http://www.livinglogic.de/Python/scripts/ucat.html") 
    125125    p.add_argument("urls", metavar="url", help="URLs to be printed", nargs="+", type=url.URL) 
    126126    p.add_argument("-r", "--recursive", dest="recursive", help="Copy stuff recursively? (default: %(default)s)", action=misc.FlagAction, default=False)