mirror of https://github.com/xzeldon/htop.git
Fix regression in -u optional-argument handling
Resolves https://github.com/htop-dev/htop/issues/91
This commit is contained in:
parent
7734dfe55d
commit
0750ff7e76
2
htop.c
2
htop.c
|
@ -98,7 +98,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
|
|||
|
||||
int opt, opti=0;
|
||||
/* Parse arguments */
|
||||
while ((opt = getopt_long(argc, argv, "hvmCs:td:u:Up:", long_opts, &opti))) {
|
||||
while ((opt = getopt_long(argc, argv, "hvmCs:td:u::Up:", long_opts, &opti))) {
|
||||
if (opt == EOF) break;
|
||||
switch (opt) {
|
||||
case 'h':
|
||||
|
|
Loading…
Reference in New Issue