demo: more helpful usage message

This commit is contained in:
Hans Baier 2021-02-06 07:15:02 +07:00
parent 5cb9f487a2
commit 6f63fc104e
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ from distutils.dir_util import copy_tree
def main():
parser = argparse.ArgumentParser(description="LiteX Bare Metal Demo App.")
parser.add_argument("--build-path", help="Target's build path.", required=True)
parser.add_argument("--build-path", help="Target's build path (eg ./build/board_name/)." + \
"Note: this tool needs to be invoked from the project directory " + \
"(the directory containing the build/ subdirectory)", required=True)
args = parser.parse_args()
# Create demo directory