Skip to content
Snippets Groups Projects
Commit e0b6bd75 authored by rahix's avatar rahix
Browse files

sim: Add help for commandline arguments

parent 5976d088
No related branches found
No related tags found
1 merge request!209Simulator Fixes
Pipeline #7276 passed
......@@ -116,8 +116,18 @@ os.stat = _stat
def sim_main():
parser = argparse.ArgumentParser()
parser.add_argument("--screenshot", action="store_true", default=False)
parser.add_argument("override_app", nargs="?")
parser.add_argument(
"--screenshot",
action="store_true",
default=False,
help="Generate a flow3r.png screenshot.",
)
parser.add_argument(
"override_app",
nargs="?",
help="Bundle to start instead of the main menu. "
+ "This is the `app.name` from flow3r.toml.",
)
args = parser.parse_args()
import _sim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment