From 1891b57f242f4a2c207076596777264f52024167 Mon Sep 17 00:00:00 2001 From: Miraland Labs Date: Fri, 9 Aug 2024 08:40:40 +0800 Subject: [PATCH] remove default value 1 for optional cores and threads --- src/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/args.rs b/src/args.rs index c518834..ea6b4b3 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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, @@ -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,