Merge "main: fix complete outputting doc page" into main
This commit is contained in:
+2
-2
@@ -584,6 +584,8 @@ void mainWrapped(AsyncIoRoot & aio, int argc, char * * argv)
|
||||
if (!args.helpRequested && !args.completions) throw;
|
||||
}
|
||||
|
||||
if (args.completions) return;
|
||||
|
||||
if (args.helpRequested) {
|
||||
std::vector<std::string> subcommand;
|
||||
MultiCommand * command = &args;
|
||||
@@ -598,8 +600,6 @@ void mainWrapped(AsyncIoRoot & aio, int argc, char * * argv)
|
||||
return;
|
||||
}
|
||||
|
||||
if (args.completions) return;
|
||||
|
||||
if (args.showVersion) {
|
||||
printVersion(programName);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user