Skip to content

Commit 91797a4

Browse files
authored
Merge pull request anbox#1281 from zhsj/argv
set default argv to help
2 parents 33b0654 + 2754d1b commit 91797a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anbox/daemon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Daemon::Daemon()
5555

5656
int Daemon::Run(const std::vector<std::string> &arguments) try {
5757
auto argv = arguments;
58-
if (arguments.size() == 0) argv = {"run"};
58+
if (arguments.size() == 0) argv = {"help"};
5959
return cmd.run({std::cin, std::cout, argv});
6060
} catch (std::exception &err) {
6161
ERROR("%s", err.what());

0 commit comments

Comments
 (0)