summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSteven Ward <planet36@users.noreply.github.com>2024-02-02 15:13:00 (GMT)
committerGitHub <noreply@github.com>2024-02-02 15:13:00 (GMT)
commitee66c333493105e014678be118850e138e3c62a8 (patch)
treeabd31c757f2292fcbdbb4ff532412d2045ed22d1 /Doc
parentb3f0b698daf2438a6e59d5d19ccb34acdba0bffc (diff)
downloadcpython-ee66c333493105e014678be118850e138e3c62a8.zip
cpython-ee66c333493105e014678be118850e138e3c62a8.tar.gz
cpython-ee66c333493105e014678be118850e138e3c62a8.tar.bz2
gh-114909: Add --first-weekday option to usage message (#114910)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/calendar.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index c4dcf56..e699a72 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -512,7 +512,7 @@ to interactively print a calendar.
python -m calendar [-h] [-L LOCALE] [-e ENCODING] [-t {text,html}]
[-w WIDTH] [-l LINES] [-s SPACING] [-m MONTHS] [-c CSS]
- [year] [month]
+ [-f FIRST_WEEKDAY] [year] [month]
For example, to print a calendar for the year 2000:
@@ -586,12 +586,13 @@ The following options are accepted:
or as an HTML document.
-.. option:: --first-weekday WEEKDAY, -f WEEKDAY
+.. option:: --first-weekday FIRST_WEEKDAY, -f FIRST_WEEKDAY
The weekday to start each week.
Must be a number between 0 (Monday) and 6 (Sunday).
Defaults to 0.
+ .. versionadded:: 3.13
.. option:: year