diff options
Diffstat (limited to 'src/clap.rs')
-rw-r--r-- | src/clap.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/clap.rs b/src/clap.rs index b7610583..82e94716 100644 --- a/src/clap.rs +++ b/src/clap.rs @@ -441,6 +441,14 @@ use CPU (3) as the default instead. app = app.arg(enable_gpu_memory); } + #[cfg(not(target_os = "windows"))] + { + let cache = Arg::new("enable_cache_memory") + .long("enable_cache_memory") + .help("Enable collecting and displaying cache and buffer memory."); + app = app.arg(cache); + } + app } |