mirror of
https://codeberg.org/adnano/wmenu.git
synced 2025-10-29 05:40:20 -04:00
Remove wmenu -P flag
This flag causes some issues with wmenu-run. It will be revisited in the next release.
This commit is contained in:
parent
81d46e3912
commit
c05ab7520b
5 changed files with 5 additions and 30 deletions
5
menu.c
5
menu.c
|
|
@ -89,7 +89,7 @@ void menu_getopts(struct menu *menu, int argc, char *argv[]) {
|
|||
"\t[-N color] [-n color] [-M color] [-m color] [-S color] [-s color]\n";
|
||||
|
||||
int opt;
|
||||
while ((opt = getopt(argc, argv, "bhiPvf:l:o:p:N:n:M:m:S:s:")) != -1) {
|
||||
while ((opt = getopt(argc, argv, "bhivf:l:o:p:N:n:M:m:S:s:")) != -1) {
|
||||
switch (opt) {
|
||||
case 'b':
|
||||
menu->bottom = true;
|
||||
|
|
@ -97,9 +97,6 @@ void menu_getopts(struct menu *menu, int argc, char *argv[]) {
|
|||
case 'i':
|
||||
menu->strncmp = strncasecmp;
|
||||
break;
|
||||
case 'P':
|
||||
menu->passwd = true;
|
||||
break;
|
||||
case 'v':
|
||||
puts("wmenu " VERSION);
|
||||
exit(EXIT_SUCCESS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue