Browse Source

Add --set as alias for --set-device

Luke Dashjr 12 years ago
parent
commit
2e93d44d71
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README
  2. 1 1
      miner.c

+ 1 - 1
README

@@ -270,7 +270,7 @@ Options for both config file and command line:
 --sched-start <arg> Set a time of day in HH:MM to start mining (a once off without a stop time)
 --sched-stop <arg>  Set a time of day in HH:MM to stop mining (will quit without a start time)
 --scrypt            Use the scrypt algorithm for mining (non-bitcoin)
---set-device <arg>  Set default parameters on devices; eg, NFY:osc6_bits=50
+--set-device|--set <arg> Set default parameters on devices; eg, NFY:osc6_bits=50
 --setuid <arg>      Username of an unprivileged user to run as
 --sharelog <arg>    Append share log to file
 --shares <arg>      Quit after mining N shares (default: unlimited)

+ 1 - 1
miner.c

@@ -2314,7 +2314,7 @@ static struct opt_table opt_config_table[] = {
 			opt_set_bool, &opt_scrypt,
 			"Use the scrypt algorithm for mining (non-bitcoin)"),
 #endif
-	OPT_WITH_ARG("--set-device",
+	OPT_WITH_ARG("--set-device|--set",
 			opt_string_elist_add, NULL, &opt_set_device_list,
 			"Set default parameters on devices; eg, NFY:osc6_bits=50"),
 #if defined(USE_SCRYPT) && defined(HAVE_OPENCL)