[frameworks/kservice] /: Remove deprecated/no-op kbuildsycoca options

Christoph Cullmann null at kde.org
Sun Feb 12 20:20:21 GMT 2023


Git commit f3bfda91756c18671c3d570cd2ebfc938cfc6327 by Christoph Cullmann, on behalf of Nicolas Fella.
Committed on 12/02/2023 at 20:20.
Pushed by cullmann into branch 'master'.

Remove deprecated/no-op kbuildsycoca options

M  +0    -7    docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook
M  +0    -7    src/kbuildsycoca/kbuildsycoca_main.cpp

https://invent.kde.org/frameworks/kservice/commit/f3bfda91756c18671c3d570cd2ebfc938cfc6327

diff --git a/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook b/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook
index 86cee7ce..915a81f8 100644
--- a/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook
+++ b/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook
@@ -93,13 +93,6 @@ it if necessary, when any of the files whose data is cached are changed.
 </listitem>
 </varlistentry>
 
-<varlistentry>
-<term><option>--nosignal</option></term>
-<listitem>
-<para>Ordinarily, <command>kbuildsycoca5</command> sends a signal over &DBus; once the cache is updated to all the applications that use KService so that they are always working with the latest information. This option suppresses that behaviour.</para>
-</listitem>
-</varlistentry>
-
 <varlistentry>
 <term><option>--menutest</option></term>
 <listitem>
diff --git a/src/kbuildsycoca/kbuildsycoca_main.cpp b/src/kbuildsycoca/kbuildsycoca_main.cpp
index 38ab02b0..61b18f0c 100644
--- a/src/kbuildsycoca/kbuildsycoca_main.cpp
+++ b/src/kbuildsycoca/kbuildsycoca_main.cpp
@@ -98,15 +98,8 @@ int main(int argc, char **argv)
 
     QCommandLineParser parser;
     about.setupCommandLine(&parser);
-    parser.addOption(
-        QCommandLineOption(QStringLiteral("nosignal"),
-                           i18nc("@info:shell command-line option", "Do not signal applications to update (deprecated, no longer having any effect)")));
     parser.addOption(
         QCommandLineOption(QStringLiteral("noincremental"), i18nc("@info:shell command-line option", "Disable incremental update, re-read everything")));
-    parser.addOption(QCommandLineOption(QStringLiteral("checkstamps"),
-                                        i18nc("@info:shell command-line option", "Check file timestamps (deprecated, no longer having any effect)")));
-    parser.addOption(QCommandLineOption(QStringLiteral("nocheckfiles"),
-                                        i18nc("@info:shell command-line option", "Disable checking files (deprecated, no longer having any effect)")));
     parser.addOption(QCommandLineOption(QStringLiteral("menutest"), i18nc("@info:shell command-line option", "Perform menu generation test run only")));
     parser.addOption(
         QCommandLineOption(QStringLiteral("track"), i18nc("@info:shell command-line option", "Track menu id for debug purposes"), QStringLiteral("menu-id")));


More information about the kde-doc-english mailing list