Created
April 24, 2018 20:47
-
-
Save EndlessEden/8b3ccf4edc955551c0c493c64db99c1a to your computer and use it in GitHub Desktop.
htop downstream patch(arch)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001 | |
From: Christian Hesse <mail@eworm.de> | |
Date: Tue, 10 Apr 2018 16:21:46 +0200 | |
Subject: [PATCH 1/1] fix option string | |
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c. | |
Signed-off-by: Christian Hesse <mail@eworm.de> | |
--- | |
htop.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/htop.c b/htop.c | |
index 6db81dd..678a3b8 100644 | |
--- a/htop.c | |
+++ b/htop.c | |
@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) { | |
int opt, opti=0; | |
/* Parse arguments */ | |
- while ((opt = getopt_long(argc, argv, "hvCst::d:u:p:i", long_opts, &opti))) { | |
+ while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) { | |
if (opt == EOF) break; | |
switch (opt) { | |
case 'h': |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment