Skip to content

Commit f97d032

Browse files
author
Sergio Schvezov
authored
fix: properly present help when posargs have no help (#5178)
Signed-off-by: Sergio Schvezov <[email protected]>
1 parent 5fbcf93 commit f97d032

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

docs/reference/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ Core
7979
* Improve snapcraft.yaml validation to fail sooner with a better message
8080
when given invalid values for ``command``, ``stop-command``,
8181
``post-stop-command``, ``reload-command``, and ``bus-name``.
82+
* Fix crash in command line help when positional arguments exist with
83+
no associated help.
8284

8385
8.5.0 (2024-Nov-19)
8486
-------------------

requirements-devel.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ craft-archives==2.0.1
5151
# via
5252
# craft-application
5353
# snapcraft (setup.py)
54-
craft-cli==2.10.1
54+
craft-cli==2.12.0
5555
# via
5656
# craft-application
5757
# snapcraft (setup.py)

requirements-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ craft-archives==2.0.1
6565
# via
6666
# craft-application
6767
# snapcraft (setup.py)
68-
craft-cli==2.10.1
68+
craft-cli==2.12.0
6969
# via
7070
# craft-application
7171
# snapcraft (setup.py)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ craft-archives==2.0.1
3333
# via
3434
# craft-application
3535
# snapcraft (setup.py)
36-
craft-cli==2.10.1
36+
craft-cli==2.12.0
3737
# via
3838
# craft-application
3939
# snapcraft (setup.py)

0 commit comments

Comments
 (0)