def getargs():
    """
    Return a list of valid arguments.
    """
    parser = argparse.ArgumentParser(
        description='Python Disk Usage Calculator.')
    parser.add_argument("path", type=chkpath, nargs='?',
                        default=".", help="A valid path.")
    return parser.parse_args()