Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
e0b6bd75
Commit
e0b6bd75
authored
1 year ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
sim: Add help for commandline arguments
parent
5976d088
No related branches found
No related tags found
1 merge request
!209
Simulator Fixes
Pipeline
#7276
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sim/run.py
+12
-2
12 additions, 2 deletions
sim/run.py
with
12 additions
and
2 deletions
sim/run.py
+
12
−
2
View file @
e0b6bd75
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment