From 1a2c812c3f9cf20ef299404e8b4e1cf3b44de2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 22 Nov 2023 22:29:41 +0100 Subject: [PATCH] fix Args docblocks --- src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 23c9fa4..4cbefa1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,21 +17,22 @@ struct Args { #[arg(short, long, default_value = "README.md")] readme: String, - // Path to your todo.md file + /// Path to your todo.md file #[arg(short, long, default_value = "todo.md")] todos: String, - // Paths to search + /// Paths to search #[arg(default_values_t = Vec::from([".".to_string()]))] paths: Vec, - // Paths to exclude + /// Paths to exclude #[arg(short, long, default_values_t = Vec::from([ "node_modules".to_string(), "vendor".to_string(), ]))] exclude: Vec, + /// Show stats after listing TODOs #[arg(short, long, default_value_t = false)] verbose: bool, }