diff options
| -rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 6234e811a7..51ed9de22c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -83,6 +83,7 @@ of the following environment variables (in any order): | |||
| 83 | help, -h, --help: print this text | 83 | help, -h, --help: print this text |
| 84 | 84 | ||
| 85 | Examples: | 85 | Examples: |
| 86 | runqemu | ||
| 86 | runqemu qemuarm | 87 | runqemu qemuarm |
| 87 | runqemu tmp/deploy/images/qemuarm | 88 | runqemu tmp/deploy/images/qemuarm |
| 88 | runqemu tmp/deploy/images/qemux86/<qemuboot.conf> | 89 | runqemu tmp/deploy/images/qemux86/<qemuboot.conf> |
| @@ -1184,8 +1185,7 @@ class BaseConfig(object): | |||
| 1184 | logger.warn("Couldn't run 'bitbake -e' to gather environment information:\n%s" % err.output.decode('utf-8')) | 1185 | logger.warn("Couldn't run 'bitbake -e' to gather environment information:\n%s" % err.output.decode('utf-8')) |
| 1185 | 1186 | ||
| 1186 | def main(): | 1187 | def main(): |
| 1187 | if len(sys.argv) == 1 or "help" in sys.argv or \ | 1188 | if "help" in sys.argv or '-h' in sys.argv or '--help' in sys.argv: |
| 1188 | '-h' in sys.argv or '--help' in sys.argv: | ||
| 1189 | print_usage() | 1189 | print_usage() |
| 1190 | return 0 | 1190 | return 0 |
| 1191 | config = BaseConfig() | 1191 | config = BaseConfig() |
