diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_list.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_list.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sinksh/syntax_modules/sink_list.cpp b/sinksh/syntax_modules/sink_list.cpp index 7421b89..e4c4837 100644 --- a/sinksh/syntax_modules/sink_list.cpp +++ b/sinksh/syntax_modules/sink_list.cpp | |||
@@ -169,14 +169,12 @@ bool list(const QStringList &args_, State &state) | |||
169 | } | 169 | } |
170 | } | 170 | } |
171 | state.flushTable(); | 171 | state.flushTable(); |
172 | state.commandFinished(); | 172 | return true; |
173 | |||
174 | return false; | ||
175 | } | 173 | } |
176 | 174 | ||
177 | Syntax::List syntax() | 175 | Syntax::List syntax() |
178 | { | 176 | { |
179 | Syntax list("list", QObject::tr("List all resources, or the contents of one or more resources."), &SinkList::list, Syntax::EventDriven); | 177 | Syntax list("list", QObject::tr("List all resources, or the contents of one or more resources."), &SinkList::list, Syntax::NotInteractive); |
180 | list.completer = &SinkshUtils::resourceOrTypeCompleter; | 178 | list.completer = &SinkshUtils::resourceOrTypeCompleter; |
181 | return Syntax::List() << list; | 179 | return Syntax::List() << list; |
182 | } | 180 | } |