mirror of
https://github.com/xHyroM/gimi.git
synced 2024-11-10 02:38:06 +01:00
refactor: remove old code comment
This commit is contained in:
parent
39714f1f3f
commit
4b5c9e3aca
1 changed files with 0 additions and 21 deletions
21
src/main.c
21
src/main.c
|
@ -22,26 +22,5 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
cli_handle(argc, argv);
|
cli_handle(argc, argv);
|
||||||
|
|
||||||
/*int opt;
|
|
||||||
opterr = 0;
|
|
||||||
while ((opt = getopt(argc, argv, "hv")) != -1) {
|
|
||||||
switch (opt) {
|
|
||||||
case 'h': {
|
|
||||||
print_help();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 'v': {
|
|
||||||
print_version();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
default: {
|
|
||||||
printf("unknown option -%c\n", (char)optopt);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
argc -= optind;
|
|
||||||
argv += optind;
|
|
||||||
*/
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue