2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Delete all remnants of algorithm names.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4465 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2007-06-25 14:21:01 +00:00
parent f00aef9271
commit 24f6b62c3f
11 changed files with 13 additions and 58 deletions

View File

@@ -161,8 +161,6 @@ int main (int argc, char *argv[])
{ "no-unknown", no_argument, NULL, 'U' },
{ "config-file", required_argument, NULL, 'c' },
{ "unknown", no_argument, NULL, 'u' },
/* next option accepted for compatibility, but otherwise ignored */
{ "algorithm", no_argument, NULL, 'a' },
{ "generic", no_argument, NULL, 'g'},
{ 0,0,0,0 }
};
@@ -175,7 +173,7 @@ int main (int argc, char *argv[])
hide_unknown = 0;
do_generic = 0;
while (1) {
c = getopt_long(argc,argv,"hsvfaAUc:ug",long_opts,NULL);
c = getopt_long(argc, argv, "hsvfAUc:ug", long_opts, NULL);
if (c == EOF)
break;
switch(c) {
@@ -207,9 +205,6 @@ int main (int argc, char *argv[])
case 'u':
do_unknown = 1;
break;
case 'a':
/* Ignore for compatibility */
break;
case 'g':
do_generic = 1;
break;