firecat53 / networkmanager-dmenu

Control NetworkManager via dmenu
MIT License
783 stars 74 forks source link

Fix dmenu password patch check #101

Closed BachoSeven closed 2 years ago

BachoSeven commented 2 years ago

Hi, I noticed that since I added another patch to my dmenu which changes the dmenu -h output the check for password patch was broken; I think checking for a uppercase P is enough, since the help output is all in lowecase otherwise.

For reference, this is my dmenu -h:

usage: dmenu [-bfirPv] [-l lines] [-p prompt] [-fn font] [-m monitor]
             [-h height]
             [-nb color] [-nf color] [-sb color] [-sf color]
             [-nhb color] [-nhf color] [-shb color] [-shf color] [-w windowid]