diff options
author | Nathan Scott <nathans@redhat.com> | 2020-09-04 09:49:30 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-09-04 09:50:18 +1000 |
commit | 0750ff7e76d845a70749cc00fa25dbe98a7147a1 (patch) | |
tree | 7a601cbbb5583893e8a2af8bf63d39abec01ff32 /htop.c | |
parent | 7734dfe55d7c005063f2682e5611fc11e9143fd9 (diff) |
Fix regression in -u optional-argument handling
Resolves https://github.com/htop-dev/htop/issues/91
Diffstat (limited to 'htop.c')
-rw-r--r-- | htop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': |