Include subcommands in help commands (#2575)

* Add minor fixes to comments

* Include subcommands in `help commands`
This commit is contained in:
Shaurya
2020-09-20 02:07:47 +05:30
committed by GitHub
parent 422b6ca871
commit 193c4cc6d5
3 changed files with 104 additions and 53 deletions

View File

@ -83,6 +83,7 @@ impl UntaggedValue {
matches!(self, UntaggedValue::Primitive(Primitive::Filesize(_)))
}
/// Returns true if this value represents a duration
pub fn is_duration(&self) -> bool {
matches!(self, UntaggedValue::Primitive(Primitive::Duration(_)))
}