Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bcoe
Copy link
Member

@bcoe bcoe commented Feb 21, 2023

freeze() was not being called prior to reset(), resulting in display issues for default sub-commands.

Fixes #2291

CC: @Tobbe, @bglimepoint

freeze() was not being called prior to reset(), resulting in display
issues for default sub-commands.

Fixes #2291
@bcoe bcoe requested a review from shadowspawn February 21, 2023 02:23
Copy link
Member

@shadowspawn shadowspawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and manually retesting against the example looks good.

@shadowspawn
Copy link
Member

I did a quick check on #2247 too. Looks good.

Fixes: #2247

Not sure if the Fixes: works in later comments, but still serves as a reminder if it does not. 😄

@bcoe bcoe merged commit 9aa2490 into main Feb 21, 2023
@shadowspawn shadowspawn deleted the fix-2291 branch May 9, 2023 20:54
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


##### [\`v17.7.2\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))
##### [\`v17.7.1\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))
##### [\`v17.7.0\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))
##### [\`v17.6.2\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))
##### [\`v17.6.1\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


##### [\`v17.7.2\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))
##### [\`v17.7.1\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))
##### [\`v17.7.0\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))
##### [\`v17.6.2\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))
##### [\`v17.6.1\`](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 15, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 16, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 17, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 18, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 19, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 21, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 23, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 24, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 25, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 28, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 29, 2024
| datasource | package      | from   | to      |
| ---------- | ------------ | ------ | ------- |
| npm        | yargs        | 17.6.0 | 17.7.2  |
| npm        | @types/yargs | 16.0.0 | 17.0.33 |


## [v17.7.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1772-2023-04-27)

##### Bug Fixes

-   do not crash completion when having negated options ([#2322](yargs/yargs#2322)) ([7f42848](yargs/yargs@7f42848))


## [v17.7.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1771-2023-02-21)

##### Bug Fixes

-   address display bug with default sub-commands ([#2303](yargs/yargs#2303)) ([9aa2490](yargs/yargs@9aa2490))


## [v17.7.0](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1770-2023-02-13)

##### Features

-   add method to hide option extras ([#2156](yargs/yargs#2156)) ([2c144c4](yargs/yargs@2c144c4))
-   convert line break to whitespace for the description of the option ([#2271](yargs/yargs#2271)) ([4cb41dc](yargs/yargs@4cb41dc))

##### Bug Fixes

-   copy the description of the option to its alias in completion ([#2269](yargs/yargs#2269)) ([f37ee6f](yargs/yargs@f37ee6f))


## [v17.6.2](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1762-2022-11-03)

##### Bug Fixes

-   **deps:** update dependency yargs-parser to v21.1.1 ([#2231](yargs/yargs#2231)) ([75b4d52](yargs/yargs@75b4d52))
-   **lang:** typo in Finnish unknown argument singular form ([#2222](yargs/yargs#2222)) ([a6dfd0a](yargs/yargs@a6dfd0a))


## [v17.6.1](https://github.com/yargs/yargs/blob/HEAD/CHANGELOG.md#1761-2022-11-02)

##### Bug Fixes

-   **lang:** fix "Not enough non-option arguments" message for the Czech language ([#2242](yargs/yargs#2242)) ([3987b13](yargs/yargs@3987b13))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using $0 (a default command) as an alias breaks the usage output for nested commands

3 participants