Skip to content

Commit 3522b1d

Browse files
planet36fsc-eriker
authored andcommitted
pythongh-114909: Add --first-weekday option to usage message (python#114910)
1 parent 9bc7f5c commit 3522b1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/calendar.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ to interactively print a calendar.
512512
513513
python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]
514514
[-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]
515-
[year] [month]
515+
[-f FIRST_WEEKDAY] [year] [month]
516516
517517
518518
For example, to print a calendar for the year 2000:
@@ -586,12 +586,13 @@ The following options are accepted:
586586
or as an HTML document.
587587

588588

589-
.. option:: --first-weekday WEEKDAY, -f WEEKDAY
589+
.. option:: --first-weekday FIRST_WEEKDAY, -f FIRST_WEEKDAY
590590

591591
The weekday to start each week.
592592
Must be a number between 0 (Monday) and 6 (Sunday).
593593
Defaults to 0.
594594

595+
.. versionadded:: 3.13
595596

596597
.. option:: year
597598

0 commit comments

Comments
 (0)