Move avalon2 options to ~alphabetic position in help.
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
diff --git a/cgminer.c b/cgminer.c
index ece6778..d3b80bd 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1221,6 +1221,17 @@ static struct opt_table opt_config_table[] = {
set_int_0_to_100, opt_show_intval, &opt_avalon_temp,
"Set avalon target temperature"),
#endif
+#ifdef USE_AVALON2
+ OPT_WITH_ARG("--avalon2-freq",
+ set_avalon2_freq, NULL, NULL,
+ "Set frequency range for Avalon2, single value or range"),
+ OPT_WITH_ARG("--avalon2-fan",
+ set_avalon2_fan, NULL, NULL,
+ "Set Avalon2 target fan speed"),
+ OPT_WITH_ARG("--avalon2-voltage",
+ set_avalon2_voltage, NULL, NULL,
+ "Set Avalon2 core voltage, in millivolts"),
+#endif
#ifdef USE_BAB
OPT_WITH_ARG("--bab-options",
set_bab_options, NULL, NULL,
@@ -1381,17 +1392,6 @@ static struct opt_table opt_config_table[] = {
opt_set_charp, opt_show_charp, &opt_kernel_path,
"Specify a path to where bitstream files are"),
#endif
-#ifdef USE_AVALON2
- OPT_WITH_ARG("--avalon2-freq",
- set_avalon2_freq, NULL, NULL,
- "Set frequency range for Avalon2, single value or range"),
- OPT_WITH_ARG("--avalon2-fan",
- set_avalon2_fan, NULL, NULL,
- "Set Avalon2 target fan speed"),
- OPT_WITH_ARG("--avalon2-voltage",
- set_avalon2_voltage, NULL, NULL,
- "Set Avalon2 core voltage, in millivolts"),
-#endif
#ifdef USE_KLONDIKE
OPT_WITH_ARG("--klondike-options",
set_klondike_options, NULL, NULL,