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

Skip to content

Conversation

@jly36963
Copy link
Contributor

@jly36963 jly36963 commented Mar 27, 2022

Addresses: #2153

Description

Given the following:

yargs('cmd1 --help')
  .command(
    'cmd1',
    'cmd1 desc',
    yargs => yargs
      .option('opt1', {
        type: 'string',
        choices: ['foo', 'bar', 'baz'],
        alias: 'o',
        required: true,
        description: "A long description that might break formatting"
      }),
    argv => console.log(argv)
  )
  .hideOptionExtras()
  .strict()
  .parse()

The hideOptionExtras would cause the following output

cmd1 desc

Options:
      --help     Show help                                             [boolean]
      --version  Show version number                                   [boolean]
  -o, --opt1     A long description that might break formatting
                              [string] [required] [choices: "foo", "bar", "baz"]

to look like this instead

cmd1 desc

Options:
      --help     Show help
      --version  Show version number
  -o, --opt1     A long description that might break formatting

Questions

If this works, I'll add unit tests.
What other things would need to change? (docs, examples, etc)

@jly36963 jly36963 requested a review from bcoe March 27, 2022 16:59
Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

I'm worried about adding one off functions to tweak yargs' default layout. What if instead we did something like we did with parserConfiguration. Add a helper usageConfiguration, which we can gradually add more layout options to:

yargs.usageConfiguration({
  'show-types': false
})

@jly36963 jly36963 requested a review from bcoe March 30, 2022 02:57
Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

@jly36963 this is great work, thank you 👏

One ask, would it be possible to add this setting in the list here: https://github.com/yargs/yargs/blob/main/docs/api.md#parserconfigurationobj

Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

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

Love this. I think usageConfiguration will help us provide nuanced configuration without adding 1,000,000 additional methods.

@ljharb
Copy link
Contributor

ljharb commented Jan 29, 2023

I’m a bit confused; how can i show types in general, but hide types for an a specific option?

@jly36963
Copy link
Contributor Author

@ljharb I don't think there is a way currently. It would likely be a new property on option/positional objects like hideUsageTypes, or potentially a refactor on the usage logic to allow for customizations.

I won't be involved with this package much in the future, so I won't be much help in implementing this change

@ljharb
Copy link
Contributor

ljharb commented Jan 29, 2023

In that case, this does not solve #1145, thanks for confirming.

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.

3 participants