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:
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."));
QCommandLineOption ubiOption(QStringList() << QStringLiteral("ubi") << QStringLiteral("u"));
ubiOption.setDescription(i18n("Specify receiving device by UBI path."));
QCommandLineOption filesOption(QStringList() << QStringLiteral("files") << QStringLiteral("f"));
filesOption.setDescription(i18n("Files to be sent."));
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