Added example for --as-table flag
This commit is contained in:
parent
3e928490be
commit
5ddaf59355
|
@ -81,10 +81,16 @@ impl Command for Cal {
|
||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "This month's calendar with the week starting on monday",
|
description: "This month's calendar with the week starting on Monday",
|
||||||
example: "cal --week-start mo",
|
example: "cal --week-start mo",
|
||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
|
Example {
|
||||||
|
description: "How many Friday the 13ths occurred in 2015",
|
||||||
|
example: "cal --as-table --full-year 2015 | where {$it.fr == 13} | length",
|
||||||
|
result: None,
|
||||||
|
//result: Some(Value::test_int(3)),
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user