diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-02 13:04:59 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-02 13:06:30 -0600 |
commit | a7c40cd33ba99658ac0c8849622a2b3f3db16de2 (patch) | |
tree | b60bc9c08525fe74f3e0265bac564c964d512b70 /sinksh/syntax_modules/sink_info.cpp | |
parent | 685a16155504831c8b5fdb9a4d0a955b21c807bf (diff) | |
download | sink-a7c40cd33ba99658ac0c8849622a2b3f3db16de2.tar.gz sink-a7c40cd33ba99658ac0c8849622a2b3f3db16de2.zip |
Print version
Diffstat (limited to 'sinksh/syntax_modules/sink_info.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_info.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sinksh/syntax_modules/sink_info.cpp b/sinksh/syntax_modules/sink_info.cpp index 5f535eb..aa515e6 100644 --- a/sinksh/syntax_modules/sink_info.cpp +++ b/sinksh/syntax_modules/sink_info.cpp | |||
@@ -25,12 +25,14 @@ | |||
25 | #include "sinksh_utils.h" | 25 | #include "sinksh_utils.h" |
26 | #include "state.h" | 26 | #include "state.h" |
27 | #include "syntaxtree.h" | 27 | #include "syntaxtree.h" |
28 | #include "sink_version.h" | ||
28 | 29 | ||
29 | namespace SinkInfo | 30 | namespace SinkInfo |
30 | { | 31 | { |
31 | 32 | ||
32 | bool info(const QStringList &args, State &state) | 33 | bool info(const QStringList &args, State &state) |
33 | { | 34 | { |
35 | state.printLine(QString("Sink version: %1").arg(sink_VERSION_STRING)); | ||
34 | state.printLine(QString("Storage location: %1").arg(Sink::storageLocation())); | 36 | state.printLine(QString("Storage location: %1").arg(Sink::storageLocation())); |
35 | state.printLine(QString("Data location: %1").arg(Sink::dataLocation())); | 37 | state.printLine(QString("Data location: %1").arg(Sink::dataLocation())); |
36 | state.printLine(QString("Config location: %1").arg(Sink::configLocation())); | 38 | state.printLine(QString("Config location: %1").arg(Sink::configLocation())); |