Skip to content

arguments like --extended do not work #11

@ChristianAtSIE

Description

@ChristianAtSIE

Hey,

I see that changing the bit-length is now supported (https://github.com/ChalkElec/write-edid/blob/master/write-edid.sh#L37), but if I call the script with '--extended' it throws: 'write: unrecognized option '--extended'

Changing line 22 (https://github.com/ChalkElec/write-edid/blob/master/write-edid.sh#L22) to ARGS=$(getopt -o "bhse" --longoptions "binary,hexadecimal,short,extended" -n "$PROGRAM_STRING" -- "$@") || exit works for, at least for the '--extended' bit, but I think it should also work for '--short'.

And in general thanks for the nice script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions