Improved/restructured --help output.
This commit is contained in:
parent
c7e4815d79
commit
637301d340
11 changed files with 119 additions and 133 deletions
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <uv.h>
|
||||
|
||||
|
||||
|
@ -161,7 +161,7 @@ int xmrig::Entry::exec(const Process &process, Id id)
|
|||
{
|
||||
switch (id) {
|
||||
case Usage:
|
||||
printf(usage);
|
||||
printf("%s\n", usage().c_str());
|
||||
return 0;
|
||||
|
||||
case Version:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue