From b7173ac94a4ca0522c4391f067c1823543a098cb Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Sun, 20 Aug 2017 13:04:11 +0200 Subject: [PATCH] Print out example launch intent when executed without any argument --- src/anbox/cmds/launch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/anbox/cmds/launch.cpp b/src/anbox/cmds/launch.cpp index ac3b277..10137c2 100644 --- a/src/anbox/cmds/launch.cpp +++ b/src/anbox/cmds/launch.cpp @@ -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; }