summaryrefslogtreecommitdiffstats
path: root/sinksh
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-30 15:28:12 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-30 15:28:55 +0100
commitba0ba8f7a84995837eb818591fe0b15bd328fef5 (patch)
tree478f03400ec8d9f8f3dce6d3e4bd943c16143aa1 /sinksh
parentc698c6062e629704c95f487bf2e8c82b46e0bb53 (diff)
downloadsink-ba0ba8f7a84995837eb818591fe0b15bd328fef5.tar.gz
sink-ba0ba8f7a84995837eb818591fe0b15bd328fef5.zip
Inspect output
Diffstat (limited to 'sinksh')
-rw-r--r--sinksh/syntax_modules/sink_inspect.cpp4
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 },