diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_livequery.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_livequery.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sinksh/syntax_modules/sink_livequery.cpp b/sinksh/syntax_modules/sink_livequery.cpp index 2d8d5d0..42d7d33 100644 --- a/sinksh/syntax_modules/sink_livequery.cpp +++ b/sinksh/syntax_modules/sink_livequery.cpp | |||
@@ -127,13 +127,13 @@ Syntax::List syntax() | |||
127 | { | 127 | { |
128 | Syntax list("livequery", QObject::tr("Run a livequery."), &SinkLiveQuery::livequery, Syntax::EventDriven); | 128 | Syntax list("livequery", QObject::tr("Run a livequery."), &SinkLiveQuery::livequery, Syntax::EventDriven); |
129 | 129 | ||
130 | list.addPositionalArgument({ .name = "type", .help = "The type to run the livequery on" }); | 130 | list.addPositionalArgument({"type", "The type to run the livequery on" }); |
131 | list.addParameter("resource", { .name = "resource", .help = "Filter the livequery to the given resource" }); | 131 | list.addParameter("resource", {"resource", "Filter the livequery to the given resource" }); |
132 | list.addFlag("compact", "Use a compact view (reduces the size of IDs)"); | 132 | list.addFlag("compact", "Use a compact view (reduces the size of IDs)"); |
133 | list.addParameter("filter", { .name = "property=$value", .help = "Filter the results" }); | 133 | list.addParameter("filter", {"property=$value", "Filter the results" }); |
134 | list.addParameter("id", { .name = "id", .help = "List only the content with the given ID" }); | 134 | list.addParameter("id", {"id", "List only the content with the given ID" }); |
135 | list.addFlag("showall", "Show all properties"); | 135 | list.addFlag("showall", "Show all properties"); |
136 | list.addParameter("show", { .name = "property", .help = "Only show the given property" }); | 136 | list.addParameter("show", {"property", "Only show the given property" }); |
137 | 137 | ||
138 | list.completer = &SinkshUtils::resourceOrTypeCompleter; | 138 | list.completer = &SinkshUtils::resourceOrTypeCompleter; |
139 | return Syntax::List() << list; | 139 | return Syntax::List() << list; |