diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-02-13 09:07:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-02-13 09:07:08 +0100 |
commit | b75609faa1a5ecde608146fcd7952e5efbcb40c6 (patch) | |
tree | 25103496fcd7f7d7e4f9ee9a7f458dbfb03c70a1 /desktop/source/pkgchk | |
parent | 1c8f53ae76b18c015095c9998df617a7800370ce (diff) |
In comments: fix typo and normalize on "sub-command"
Change-Id: I57f7d98edef10cb64b106b326869a594cc2f8d42
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_app.cxx | 6 |
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 )) { |