From dc7d0352383c41eda15510ae6995ea75c3a2259d Mon Sep 17 00:00:00 2001 From: Lion Yang Date: Sat, 25 Aug 2018 21:15:59 +0800 Subject: [PATCH] htop.c: remove unused "--io" / "-i" (#811) Introduced from https://github.com/hishamhm/htop/commit/3383d8e5561dfc6fb2b65e0a194df94ccb5e08af (2.0.0) but never used. --- htop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htop.c b/htop.c index 678a3b8a..8c88c782 100644 --- a/htop.c +++ b/htop.c @@ -87,13 +87,12 @@ static CommandLineSettings parseArguments(int argc, char** argv) { {"no-colour",no_argument, 0, 'C'}, {"tree", no_argument, 0, 't'}, {"pid", required_argument, 0, 'p'}, - {"io", no_argument, 0, 'i'}, {0,0,0,0} }; int opt, opti=0; /* Parse arguments */ - while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) { + while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:", long_opts, &opti))) { if (opt == EOF) break; switch (opt) { case 'h':