diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index cfdb0c53fb..17219563a8 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -80,7 +80,7 @@ of the following environment variables (in any order): | |||
80 | biosfilename=<filename> - specify bios filename | 80 | biosfilename=<filename> - specify bios filename |
81 | qemuparams=<xyz> - specify custom parameters to QEMU | 81 | qemuparams=<xyz> - specify custom parameters to QEMU |
82 | bootparams=<xyz> - specify custom kernel parameters during boot | 82 | bootparams=<xyz> - specify custom kernel parameters during boot |
83 | help: print this text | 83 | help, -h, --help: print this text |
84 | 84 | ||
85 | Examples: | 85 | Examples: |
86 | runqemu qemuarm | 86 | runqemu qemuarm |
@@ -1161,7 +1161,8 @@ class BaseConfig(object): | |||
1161 | logger.warn("Couldn't run 'bitbake -e' to gather environment information:\n%s" % err.output.decode('utf-8')) | 1161 | logger.warn("Couldn't run 'bitbake -e' to gather environment information:\n%s" % err.output.decode('utf-8')) |
1162 | 1162 | ||
1163 | def main(): | 1163 | def main(): |
1164 | if len(sys.argv) == 1 or "help" in sys.argv: | 1164 | if len(sys.argv) == 1 or "help" in sys.argv or \ |
1165 | '-h' in sys.argv or '--help' in sys.argv: | ||
1165 | print_usage() | 1166 | print_usage() |
1166 | return 0 | 1167 | return 0 |
1167 | config = BaseConfig() | 1168 | config = BaseConfig() |