Kaydet (Commit) b75609fa authored tarafından Stephan Bergmann's avatar Stephan Bergmann

In comments: fix typo and normalize on "sub-command"

Change-Id: I57f7d98edef10cb64b106b326869a594cc2f8d42
üst 1c8f53ae
......@@ -229,20 +229,20 @@ extern "C" int unopkg_main()
dp_misc::writeConsole("\n" APP_NAME " Version 3.3\n");
return 0;
}
//consume all bootstrap variables which may occur before the subcommand
//consume all bootstrap variables which may occur before the sub-command
while(isBootstrapVariable(&nPos))
;
if(nPos >= nCount)
return 0;
//get the sub command
//get the sub-command
osl_getCommandArg( nPos, &subCommand.pData );
++nPos;
subCommand = subCommand.trim();
bool subcmd_add = subCommand == "add";
subcmd_gui = subCommand == "gui";
// sun-command options and packages:
// sub-command options and packages:
while (nPos < nCount)
{
if (readArgument( &cmdArg, info_log, &nPos )) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment