diff --git a/ProxCLMC/src/main.rs b/ProxCLMC/src/main.rs index 114a466..fa8967c 100644 --- a/ProxCLMC/src/main.rs +++ b/ProxCLMC/src/main.rs @@ -236,6 +236,11 @@ fn main() -> io::Result<()> { let flags = extract_flags(&cpuinfo); let cpu_type = CpuType::from_flags(&flags); + if args.list_only { + println!("{}", cpu_type.as_str()); + return Ok(()); + } + println!("Detected node:"); println!("localhost | local | {}", cpu_type.as_str()); println!("\nCluster CPU type: {}", cpu_type.as_str());