File indexing completed on 2024-12-08 07:35:40

0001 /*
0002    SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 #include "config-ruqola.h"
0009 #include <KLocalizedString>
0010 #include <QCommandLineParser>
0011 
0012 static void ruqolaOptions(QCommandLineParser *parser)
0013 {
0014     parser->addOption(QCommandLineOption(QStringList() << QStringLiteral("list-accounts"), i18n("Return lists of accounts")));
0015     parser->addOption(QCommandLineOption(QStringList() << QStringLiteral("account"), i18n("Start with specific account"), QStringLiteral("accountname")));
0016     parser->addOption(QCommandLineOption(QStringList() << QStringLiteral("messageurl"), i18n("Show Message"), QStringLiteral("url")));
0017 
0018 #if HAVE_KUSERFEEDBACK
0019     parser->addOption(QCommandLineOption(QStringLiteral("feedback"), i18n("Lists the available options for user feedback")));
0020 #endif
0021 }