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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user