diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-30 15:28:12 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-30 15:28:55 +0100 |
commit | ba0ba8f7a84995837eb818591fe0b15bd328fef5 (patch) | |
tree | 478f03400ec8d9f8f3dce6d3e4bd943c16143aa1 | |
parent | c698c6062e629704c95f487bf2e8c82b46e0bb53 (diff) | |
download | sink-ba0ba8f7a84995837eb818591fe0b15bd328fef5.tar.gz sink-ba0ba8f7a84995837eb818591fe0b15bd328fef5.zip |
Inspect output
-rw-r--r-- | sinksh/syntax_modules/sink_inspect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_inspect.cpp b/sinksh/syntax_modules/sink_inspect.cpp index 839b039..c0aca24 100644 --- a/sinksh/syntax_modules/sink_inspect.cpp +++ b/sinksh/syntax_modules/sink_inspect.cpp | |||
@@ -148,7 +148,7 @@ bool inspect(const QStringList &args, State &state) | |||
148 | if (showInternal) { | 148 | if (showInternal) { |
149 | //Print internal keys | 149 | //Print internal keys |
150 | db.scan("__internal", [&] (const QByteArray &key, const QByteArray &data) { | 150 | db.scan("__internal", [&] (const QByteArray &key, const QByteArray &data) { |
151 | state.printLine("Internal: " + key + " Value: " + QString::fromUtf8(data)); | 151 | state.printLine("Internal: " + key + "\tValue: " + QString::fromUtf8(data)); |
152 | return true; | 152 | return true; |
153 | }, | 153 | }, |
154 | [&](const Sink::Storage::DataStore::Error &e) { | 154 | [&](const Sink::Storage::DataStore::Error &e) { |
@@ -182,7 +182,7 @@ bool inspect(const QStringList &args, State &state) | |||
182 | ); | 182 | ); |
183 | } | 183 | } |
184 | } else { | 184 | } else { |
185 | state.printLine("Key: " + key + " Value: " + QString::fromUtf8(data)); | 185 | state.printLine("Key: " + key + "\tValue: " + QString::fromUtf8(data)); |
186 | } | 186 | } |
187 | return true; | 187 | return true; |
188 | }, | 188 | }, |