Skip to content

--accept says "invalid digit found in string" for documentation example #1329

@koppor

Description

@koppor

The documentation says:

Use "lychee --accept '200..=204, 429, 500' ..." to provide a comma-separated list [...]

Use "lychee --accept '200..=204, 429, 500' <inputs>..." to provide a comma-

When executing that, I get "invalid digit found in string"

>lychee --accept '200..=204, 429, 500'
error: invalid value ''200..=204,' for '--accept <ACCEPT>': invalid digit found in string
lychee 0.13.0

I tried some variants:

  • Does not work: lychee --accept '200' https://www.example.org
  • Works: lychee --accept "200" https://www.example.org
  • Does not work: lychee --accept "200..=204" https://www.example.org

Last working lychee version was 0.10.0. Beginning with 0.10.1 the aforementioned syntax does not work.


Maybe, "just" a new release has to be made, because it seems PR #1167 is not release. I cannot build a binary for myself, because of microsoft/vcpkg#35949 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions