import sys

def usage():
    print """
Usage: %s [options] URLs
Options are:
  -b, --basedir dir  Set the directory into which the files are written.
                     Default is "."
  -d, --dump         Print the URLs which would be downloaded, don't download
  -h, --help         This text.
"""%sys.argv[0]
    sys.exit(1)

