Keep options in alphabetical order.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
diff --git a/main.c b/main.c
index 87d0892..346e1dc 100644
--- a/main.c
+++ b/main.c
@@ -1030,6 +1030,9 @@ static struct opt_table opt_config_table[] = {
"\n\tsse4_64\t\tSSE4 implementation for x86_64 machines"
#endif
),
+ OPT_WITH_ARG("--bench-algo|-b",
+ set_int_0_to_9999, opt_show_intval, &opt_bench_algo,
+ opt_hidden),
OPT_WITH_ARG("--cpu-threads|-t",
force_nthreads_int, opt_show_intval, &opt_n_threads,
"Number of miner CPU threads"),
@@ -1056,6 +1059,12 @@ static struct opt_table opt_config_table[] = {
OPT_WITH_ARG("--log|-l",
set_int_0_to_9999, opt_show_intval, &opt_log_interval,
"Interval in seconds between log output"),
+#if defined(unix)
+ OPT_WITH_ARG("--monitor|-m",
+ opt_set_charp, NULL, &opt_stderr_cmd,
+ "Use custom pipe cmd for output messages"),
+#endif // defined(unix)
+
OPT_WITHOUT_ARG("--no-longpoll",
opt_set_invbool, &want_longpoll,
"Disable X-Long-Polling support"),
@@ -1092,21 +1101,12 @@ static struct opt_table opt_config_table[] = {
OPT_WITHOUT_ARG("--submit-stale",
opt_set_bool, &opt_submit_stale,
"Submit shares even if they would normally be considered stale"),
- OPT_WITH_ARG("--bench-algo|-b",
- set_int_0_to_9999, opt_show_intval, &opt_bench_algo,
- opt_hidden),
#ifdef HAVE_SYSLOG_H
OPT_WITHOUT_ARG("--syslog",
opt_set_bool, &use_syslog,
"Use system log for output messages (default: standard error)"),
#endif
-#if defined(unix)
- OPT_WITH_ARG("--monitor|-m",
- opt_set_charp, NULL, &opt_stderr_cmd,
- "Use custom pipe cmd for output messages"),
-#endif // defined(unix)
-
OPT_WITHOUT_ARG("--text-only|-T",
opt_set_invbool, &use_curses,
"Disable ncurses formatted screen output"),