aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-05-31 14:42:19 +0200
committerGitHub <noreply@github.com>2018-05-31 14:42:19 +0200
commita16c3814e81502f1ff97b68ecf8ab5498bca7095 (patch)
tree7328575f24db1893119be01c691e493da535c480
parenta8d1ec21a93d970ce9329cab4899f7df4fb587b3 (diff)
downloadOneRoll-a16c3814e81502f1ff97b68ecf8ab5498bca7095.tar.gz
OneRoll-a16c3814e81502f1ff97b68ecf8ab5498bca7095.zip
to be tested
to be tested
-rw-r--r--node/helpnode.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp
index a6b3c93..bdaf90e 100644
--- a/node/helpnode.cpp
+++ b/node/helpnode.cpp
@@ -32,7 +32,15 @@ void HelpNode::run(ExecutionNode* previous)
if((nullptr == previous)&&(txtResult != nullptr))
{
- txtResult->setText(QObject::tr("Rolisteam Dice Parser:\nFull documentation at: %1").arg(m_path));
+ txtResult->setText(QObject::tr("Rolisteam Dice Parser:\n"
+ "\n"
+ "Example (with ! as prefix):\n"
+ "!2d6"
+ "!1d20"
+ "\n"
+ "Operator list:\n"
+ "\n"
+ "Full documentation at: %1").arg(m_path));
m_result->setPrevious(nullptr);
}
else if(nullptr != previous)