aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-05-03 02:53:34 +0200
committerRenaud G <renaud@rolisteam.org>2015-05-03 02:53:34 +0200
commit6dbf254b7d5b19b77eb4716b24a1768f48b11248 (patch)
tree8d5e0c303dee1b23c891580fcb4b224a48cc3ed9 /cli
parent479b96210a01c152d5498e97cd66c47258918c49 (diff)
downloadOneRoll-6dbf254b7d5b19b77eb4716b24a1768f48b11248.tar.gz
OneRoll-6dbf254b7d5b19b77eb4716b24a1768f48b11248.zip
-Add install target to make file.
-Add comments and class descriptions.
Diffstat (limited to 'cli')
-rw-r--r--cli/main.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/cli/main.cpp b/cli/main.cpp
index 2c4ddfa..f005cc3 100644
--- a/cli/main.cpp
+++ b/cli/main.cpp
@@ -26,6 +26,20 @@
#include <QCommandLineOption>
#include <QTextStream>
+/**
+ * @page Dice
+ * The cli for DiceParser the new dice system from rolisteam.
+ * @section Build and install
+ * To build this program, type these command:
+ * - mkdir build
+ * - cd build
+ * - cmake ../
+ * - make
+ * - make install
+ * @return
+ */
+
+
QTextStream out(stdout, QIODevice::WriteOnly);
@@ -156,9 +170,9 @@ Options:\n\
int main(int argc, char *argv[])
{
- QCoreApplication app(argc,argv);
+ /*QCoreApplication app(argc,argv);
QCoreApplication::setApplicationName("dice");
- QCoreApplication::setApplicationVersion("1.0");
+ QCoreApplication::setApplicationVersion("1.0");*/
QStringList commands;