Skip to content

fix: copy the description of the option to its alias in completion#2269

Merged
bcoe merged 5 commits intoyargs:mainfrom
tasshi-me:fix/add-description-of-alias-on-zsh-completion
Dec 28, 2022
Merged

fix: copy the description of the option to its alias in completion#2269
bcoe merged 5 commits intoyargs:mainfrom
tasshi-me:fix/add-description-of-alias-on-zsh-completion

Conversation

@tasshi-me
Copy link
Contributor

This PR fixes #2268.
I find the original option for the alias and copy its description to the alias.
As a result, the option and its alias are collected together and aligned in the completion.

completions.push(dashes + key);
} else {
const desc = descs[key] || '';
const aliasKey = this?.aliases?.[key]?.[0];
Copy link
Member

Choose a reason for hiding this comment

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

what about cases where there are multiple aliases associated with a key? should this be a loop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, Thank you. Yes, sometimes the this?.aliases?.[key]?.[0] will be another alias without a description.
I will make it a loop.

@tasshi-me tasshi-me requested a review from bcoe December 1, 2022 06:58
@tasshi-me
Copy link
Contributor Author

@bcoe
Thank you.
Can I ask you for the review again?

@bcoe bcoe merged commit f37ee6f into yargs:main Dec 28, 2022
@bcoe
Copy link
Member

bcoe commented Dec 28, 2022

@mshrtsr thank you for the contribution 👌

@tasshi-me tasshi-me deleted the fix/add-description-of-alias-on-zsh-completion branch December 29, 2022 04:34
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.

The completion for zsh does not align the option and its alias.

2 participants