Subcommand fallthrough (#1073)

Add modifier for subcommands to restrict subcommands falling through to
parent.
This will resolve #1022

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Philip Top
2024-10-09 04:46:45 -07:00
committed by GitHub
parent 79b1430019
commit ca66827263
8 changed files with 74 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: CMake ${{ inputs.cmake-version }}
uses: jwlawson/actions-setup-cmake@v1.14
uses: jwlawson/actions-setup-cmake@v2.0.2
with:
cmake-version: "${{ inputs.cmake-version }}"
- run: |

View File

@@ -292,10 +292,10 @@ jobs:
cmake-version: "3.13"
if: success() || failure()
- name: Check CMake 3.14
- name: Check CMake 3.14.7
uses: ./.github/actions/quick_cmake
with:
cmake-version: "3.14"
cmake-version: "3.14.7"
args: -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
if: success() || failure()
@@ -387,6 +387,6 @@ jobs:
- name: Check CMake 3.28 (full)
uses: ./.github/actions/quick_cmake
with:
cmake-version: "3.28"
cmake-version: "3.28.X"
args: -DCLI11_SANITIZERS=ON -DCLI11_BUILD_EXAMPLES_JSON=ON
if: success() || failure()