1
0
Fork 0
mirror of https://github.com/archtechx/todo-system.git synced 2025-12-12 00:54:03 +00:00

fix Args docblocks

This commit is contained in:
Samuel Štancl 2023-11-22 22:29:41 +01:00
parent b3ce6ff9c2
commit 1a2c812c3f

View file

@ -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<String>,
// Paths to exclude
/// Paths to exclude
#[arg(short, long, default_values_t = Vec::from([
"node_modules".to_string(),
"vendor".to_string(),
]))]
exclude: Vec<String>,
/// Show stats after listing TODOs
#[arg(short, long, default_value_t = false)]
verbose: bool,
}