From e4ccdd000f82af07c7109849521fc6d3176b7e9e Mon Sep 17 00:00:00 2001 From: BenDroid Date: Sat, 21 Oct 2017 23:09:04 +0200 Subject: [PATCH] Removed compiler warning, fixed links in readme --- README.md | 4 ++-- src/Options.cpp | 6 +++--- src/Options.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8d1b0fbd..a69b808c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # XMRigCC -[Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/feature_cc/howto_and_notes.txt) +[Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/master/howto_and_notes.txt) Documentation will be added here soon. @@ -51,7 +51,7 @@ Originally based on cpuminer-multi with heavy optimizations/rewrites and removin ## Download * Binary releases: soon * Git tree: https://github.com/Bendr0id/xmrigCC.git - * Clone with `git clone https://github.com/Bendr0id/xmrigCC.git` :hammer: [Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/feature_cc/howto_and_notes.txt). + * Clone with `git clone https://github.com/Bendr0id/xmrigCC.git` :hammer: [Build instructions / Notes / Howto](https://raw.githubusercontent.com/Bendr0id/xmrigCC/master/howto_and_notes.txt). ## Usage ### Basic example diff --git a/src/Options.cpp b/src/Options.cpp index c9539432..f3b4f209 100644 --- a/src/Options.cpp +++ b/src/Options.cpp @@ -97,13 +97,13 @@ Options:\n" --cc-client-config-folder=FOLDER Folder contains the client config files\n\ --cc-custom-dashboard=FILE loads a custom dashboard and serve it to '/'\n" # endif -"\ +"\ --no-color disable colored output\n" # ifdef HAVE_SYSLOG_H -"\ +"\ -S, --syslog use system log for output messages\n" # endif -"\ +"\ -B, --background run the miner in the background\n\ -c, --config=FILE load a JSON-format configuration file\n\ -l, --log-file=FILE log all output to a file\n\ diff --git a/src/Options.h b/src/Options.h index cd47f6b9..392bf408 100644 --- a/src/Options.h +++ b/src/Options.h @@ -117,7 +117,6 @@ private: int getAlgoVariantLite() const; # endif - const char* m_configFile; bool m_background; bool m_colors; @@ -127,6 +126,7 @@ private: bool m_safe; bool m_syslog; bool m_daemonized; + const char* m_configFile; char *m_apiToken; char *m_apiWorkerId; char *m_logFile;