]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-114909: Add --first-weekday option to usage message (#114910)
authorSteven Ward <planet36@users.noreply.github.com>
Fri, 2 Feb 2024 15:13:00 +0000 (10:13 -0500)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2024 15:13:00 +0000 (17:13 +0200)
Doc/library/calendar.rst

index c4dcf5641d60663af82f93703a544d23a051db89..e699a7284ac8023cfbdc788d1b21a6e0735db845 100644 (file)
@@ -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