Mercurial > hg > config
comparison python/mountusb.py @ 850:c44637991a01
[mountusb] docstring
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 10 Dec 2017 09:59:24 -0800 |
parents | 81d2f5c20ceb |
children |
comparison
equal
deleted
inserted
replaced
849:81d2f5c20ceb | 850:c44637991a01 |
---|---|
23 import subprocess | 23 import subprocess |
24 import sys | 24 import sys |
25 | 25 |
26 | 26 |
27 def main(args=sys.argv[1:]): | 27 def main(args=sys.argv[1:]): |
28 """CLI""" | |
28 | 29 |
29 parser = argparse.ArgumentParser(description=__doc__) | 30 parser = argparse.ArgumentParser(description=__doc__) |
30 parser.add_argument('-m', '--mount', dest='mount_point', | 31 parser.add_argument('-m', '--mount', dest='mount_point', |
31 default='/mnt/media', | 32 default='/mnt/media', |
32 help="mount point") | 33 help="mount point") |