only check for incomplete dependencies when listing with --no-dependencies

This commit is contained in:
aaron-jack-manning
2022-09-10 15:38:37 +10:00
parent e496faee48
commit 2c5acbe61d
3 changed files with 13 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ pub enum Command {
dependency : Vec<Id>,
#[clap(short, long, value_enum)]
priority : Option<tasks::Priority>,
/// Due date, expecting format yyyy-mm-ddThh:mm:ss
/// Due date, [format: yyyy-mm-ddThh:mm:ss].
#[clap(long)]
due : Option<chrono::NaiveDateTime>,
},
@@ -139,7 +139,7 @@ pub struct ListOptions {
/// Include completed tasks in the list.
#[clap(long)]
pub include_completed : bool,
/// Only include tasks with no dependencies [alias: bottom-level].
/// Only include tasks with no (incomplete) dependencies [alias: bottom-level].
#[clap(long, alias="bottom-level")]
pub no_dependencies : bool,
/// Only include tasks with no dependents [alias: top-level].