summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules/sink_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh/syntax_modules/sink_sync.cpp')
-rw-r--r--sinksh/syntax_modules/sink_sync.cpp6
1 files changed, 3 insertions, 3 deletions
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()
84{ 84{
85 Syntax sync("sync", QObject::tr("Synchronizes a resource."), &SinkSync::sync, Syntax::EventDriven); 85 Syntax sync("sync", QObject::tr("Synchronizes a resource."), &SinkSync::sync, Syntax::EventDriven);
86 86
87 sync.addPositionalArgument({ .name = "type", .help = "The type of resource to synchronize" }); 87 sync.addPositionalArgument({"type", "The type of resource to synchronize"});
88 sync.addPositionalArgument({ .name = "resourceId", .help = "The ID of the resource to synchronize" }); 88 sync.addPositionalArgument({"resourceId", "The ID of the resource to synchronize"});
89 sync.addParameter("password", { .name = "password", .help = "The password of the resource", .required = true }); 89 sync.addParameter("password", {"password", "The password of the resource", true});
90 90
91 sync.completer = &SinkshUtils::resourceCompleter; 91 sync.completer = &SinkshUtils::resourceCompleter;
92 92