Commit 85351d22 authored by Jonathan Marten's avatar Jonathan Marten

bluedevil-sendfile: Set option descriptions for command line help

Otherwise the "--help" output is not formatted correctly.

Differential Revision: https://phabricator.kde.org/D9079
parent b1fb6b93
......@@ -52,12 +52,15 @@ int main(int argc, char *argv[])
KDBusService service;
QCommandLineOption kioOption(QStringList() << QStringLiteral("kio") << QStringLiteral("k"));
kioOption.setDescription(i18n("Specify receiving device by MAC address."));
kioOption.setValueName(QStringLiteral("bluetooth://address"));
QCommandLineOption ubiOption(QStringList() << QStringLiteral("ubi") << QStringLiteral("u"));
ubiOption.setDescription(i18n("Specify receiving device by UBI path."));
ubiOption.setValueName(QStringLiteral("ubi"));
QCommandLineOption filesOption(QStringList() << QStringLiteral("files") << QStringLiteral("f"));
filesOption.setDescription(i18n("Files to be sent."));
filesOption.setValueName(QStringLiteral("files"));
QCommandLineParser parser;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment