Don't include year and month by default, adds an option to display th… (#1745)

* Don't include year and month by default, adds an option to display the quarters of the year

* Add a test for cal that checks that year requested is in the return

* rustfmt the cal tests
This commit is contained in:
Joseph T. Lyons
2020-05-10 20:35:24 -04:00
committed by GitHub
parent f5e03aaf1c
commit f702aae72f
3 changed files with 72 additions and 29 deletions

View File

@ -4,8 +4,11 @@ Use `cal` to display a calendar.
## Flags
* `-m`, `--month-names`: Display the month names instead of integers
* `-y`, `--year`: Display a year-long calendar for the specified year
* `-y`, `--year`: Display the year column
* `-q`, `--quarter`: Display the quarter column
* `-m`, `--month`: Display the month column
* `--full-year` \<integer>: Display a year-long calendar for the specified year
* `--month-names`: Display the month names instead of integers
## Examples