summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-13 09:07:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-13 09:07:08 +0100
commitb75609faa1a5ecde608146fcd7952e5efbcb40c6 (patch)
tree25103496fcd7f7d7e4f9ee9a7f458dbfb03c70a1
parent1c8f53ae76b18c015095c9998df617a7800370ce (diff)
In comments: fix typo and normalize on "sub-command"
Change-Id: I57f7d98edef10cb64b106b326869a594cc2f8d42
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index d3cc0e89d41d..33a8af6f8e55 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -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 )) {