Skip to content

Incorrectly parses filename containing two dashes #171

@cptchuckles

Description

@cptchuckles

Version: 1.6.1-6

Command:

nitrogen --head=0 --set-zoom-fill -- /home/grendel/pictures/wallpapers/s/kmc_B87KFrhCUAM6qA--magickrop_upscayl_3x_ultrasharp.jpg

Output:

Error parsing command line: Unexpected argument magickrop_upscayl_3x_ultrasharp.jpg

The problem seems to be that .*--.* is still treated as special characters, even after encountering the first stand-alone -- literal in the args list, which conventionally is supposed to mean there will absolutely be no more options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions