htop.c: remove unused "--io" / "-i" (#811)

Introduced from 3383d8e556 (2.0.0) but never used.
This commit is contained in:
Lion Yang 2018-08-25 21:15:59 +08:00 committed by Hisham Muhammad
parent bae27054e6
commit 67e368914a
1 changed files with 1 additions and 2 deletions

3
htop.c
View File

@ -87,13 +87,12 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
{"no-colour",no_argument, 0, 'C'}, {"no-colour",no_argument, 0, 'C'},
{"tree", no_argument, 0, 't'}, {"tree", no_argument, 0, 't'},
{"pid", required_argument, 0, 'p'}, {"pid", required_argument, 0, 'p'},
{"io", no_argument, 0, 'i'},
{0,0,0,0} {0,0,0,0}
}; };
int opt, opti=0; int opt, opti=0;
/* Parse arguments */ /* 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; if (opt == EOF) break;
switch (opt) { switch (opt) {
case 'h': case 'h':