Print out example launch intent when executed without any argument
This commit is contained in:
parent
7d4d7730ef
commit
b7173ac94a
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ anbox::cmds::Launch::Launch()
|
|||
action([this](const cli::Command::Context&) {
|
||||
if (!intent_.valid()) {
|
||||
ERROR("The intent you provided is invalid. Please provide a correct launch intent.");
|
||||
ERROR("For example to launch the application manager, run:");
|
||||
ERROR("$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue