[Libreoffice-commits] core.git: desktop/source

Stephan Bergmann sbergman at redhat.com
Tue Feb 13 08:07:46 UTC 2018


 desktop/source/pkgchk/unopkg/unopkg_app.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b75609faa1a5ecde608146fcd7952e5efbcb40c6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 13 09:07:08 2018 +0100

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

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 )) {


More information about the Libreoffice-commits mailing list