Skip to content

Commit

Permalink
remove default value 1 for optional cores and threads
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Aug 9, 2024
1 parent b52cee8 commit 1891b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub struct MineArgs {
short,
value_name = "CORES_COUNT",
help = "The number of CPU cores to allocate to mining",
default_value = "1"
// default_value = "1"
)]
pub cores: Option<u64>,

Expand All @@ -68,7 +68,7 @@ pub struct MineArgs {
short,
value_name = "THREAD_COUNT",
help = "The number of CPU threads to allocate to mining",
default_value = "1"
// default_value = "1"
)]
pub threads: Option<u64>,

Expand Down

0 comments on commit 1891b57

Please sign in to comment.