resurrecting-open-source-projects / scrot

SCReenshOT - command line screen capture utility
Other
495 stars 49 forks source link

better handle mutually exclusive options #358

Closed N-R-K closed 1 year ago

N-R-K commented 1 year ago

currently scrot -s -u will end up taking a screenshot with selection enabled even though -u was specified later. this patch makes scrot follow the cli convention of the later option overwriting the earlier one.

fixes: https://github.com/resurrecting-open-source-projects/scrot/issues/264