From 256b5beb89d2c67d74d80a6f1a0f0dad074911e3 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Aug 2018 22:43:54 +0200 Subject: Removed the use of C99 extensions --- sinksh/syntax_modules/sink_sync.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sinksh/syntax_modules/sink_sync.cpp') diff --git a/sinksh/syntax_modules/sink_sync.cpp b/sinksh/syntax_modules/sink_sync.cpp index e13e8f8..8126bd2 100644 --- a/sinksh/syntax_modules/sink_sync.cpp +++ b/sinksh/syntax_modules/sink_sync.cpp @@ -84,9 +84,9 @@ Syntax::List syntax() { Syntax sync("sync", QObject::tr("Synchronizes a resource."), &SinkSync::sync, Syntax::EventDriven); - sync.addPositionalArgument({ .name = "type", .help = "The type of resource to synchronize" }); - sync.addPositionalArgument({ .name = "resourceId", .help = "The ID of the resource to synchronize" }); - sync.addParameter("password", { .name = "password", .help = "The password of the resource", .required = true }); + sync.addPositionalArgument({"type", "The type of resource to synchronize"}); + sync.addPositionalArgument({"resourceId", "The ID of the resource to synchronize"}); + sync.addParameter("password", {"password", "The password of the resource", true}); sync.completer = &SinkshUtils::resourceCompleter; -- cgit v1.2.3