autorandr icon indicating copy to clipboard operation
autorandr copied to clipboard

[Proposal] Rename `--match-edid` to `--ignore-outputname`

Open 9las opened this issue 11 months ago • 2 comments
trafficstars

I propose renaming the --match-edid option to --ignore-outputname (or a similar name) to better reflect its actual behavior.

The current name, --match-edid, is somewhat misleading because autorandr always matches displays by EDID, even without this option. What the --match-edid option truly changes is the behavior of how output names are handled—it tells autorandr to ignore output names and rely solely on EDID for matching.

Renaming the option to something like --ignore-outputname would make its functionality more intuitive, as it emphasizes what is being ignored (the output name) rather than what is already a default behavior (EDID matching).

9las avatar Nov 28 '24 22:11 9las

Good point, but I won't be deprecating existing options at this point in the lifetime of this program. We could either introduce the new name and (silently?) continue to support the old, or just improve the documentation.

phillipberndt avatar Nov 30 '24 09:11 phillipberndt

Introducing the new name and silently continue to support the old sounds like a good solution to me.

9las avatar Nov 30 '24 15:11 9las