diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-11 08:25:30 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-11 11:54:52 +0200 |
commit | ce2fd2666f084eebe443598f6f3740a02913091e (patch) | |
tree | af5582170ed6164fffc9365f34b17bf449c0db40 /sinksh/syntax_modules/sink_clear.cpp | |
parent | db8f328bde01d24bf9271638f8295fc70c68cdd4 (diff) | |
download | sink-ce2fd2666f084eebe443598f6f3740a02913091e.tar.gz sink-ce2fd2666f084eebe443598f6f3740a02913091e.zip |
Read resources synchronously
Diffstat (limited to 'sinksh/syntax_modules/sink_clear.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_clear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_clear.cpp b/sinksh/syntax_modules/sink_clear.cpp index 72d9a14..1537ecd 100644 --- a/sinksh/syntax_modules/sink_clear.cpp +++ b/sinksh/syntax_modules/sink_clear.cpp | |||
@@ -50,7 +50,7 @@ bool clear(const QStringList &args, State &state) | |||
50 | 50 | ||
51 | Syntax::List syntax() | 51 | Syntax::List syntax() |
52 | { | 52 | { |
53 | Syntax clear("clear", QObject::tr("Clears the local cache of one or more resources (be careful!)"), &SinkClear::clear); | 53 | Syntax clear("clear", QObject::tr("Clears the local cache of one or more resources (be careful!)"), &SinkClear::clear, Syntax::NotInteractive); |
54 | clear.completer = &SinkshUtils::resourceCompleter; | 54 | clear.completer = &SinkshUtils::resourceCompleter; |
55 | 55 | ||
56 | return Syntax::List() << clear; | 56 | return Syntax::List() << clear; |