diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_drop.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_drop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_drop.cpp b/sinksh/syntax_modules/sink_drop.cpp index eaa3041..e4bc92b 100644 --- a/sinksh/syntax_modules/sink_drop.cpp +++ b/sinksh/syntax_modules/sink_drop.cpp | |||
@@ -62,7 +62,7 @@ bool drop(const QStringList &args, State &state) | |||
62 | Syntax::List syntax() | 62 | Syntax::List syntax() |
63 | { | 63 | { |
64 | Syntax drop("drop", QObject::tr("Drop all caches of a resource."), &SinkDrop::drop, Syntax::NotInteractive); | 64 | Syntax drop("drop", QObject::tr("Drop all caches of a resource."), &SinkDrop::drop, Syntax::NotInteractive); |
65 | drop.addPositionalArgument({.name = "resource", .help = "Id(s) of the resource(s) to drop", .required = true, .variadic = true}); | 65 | drop.addPositionalArgument({"resource", "Id(s) of the resource(s) to drop", true, true}); |
66 | 66 | ||
67 | drop.completer = &SinkshUtils::resourceOrTypeCompleter; | 67 | drop.completer = &SinkshUtils::resourceOrTypeCompleter; |
68 | return Syntax::List() << drop; | 68 | return Syntax::List() << drop; |