From ab9060943db0ab34025cd5c46d2947a902811a46 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 7 Aug 2002 11:55:35 +0000 Subject: [PATCH] fix -c and -u flags in sensors. Reported by "Kronos" git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1487 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 3 ++- prog/sensors/main.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 75c17a90..ce5344d4 100644 --- a/CHANGES +++ b/CHANGES @@ -32,7 +32,8 @@ ask CVS about it: add support for logging loadavg in RRD; fix down-converting raw labels for RRD; update chip support, still behind sensors - Program sensors: Add /usr/local/etc to config file path + Program sensors: Add /usr/local/etc to config file path; + fix -c and -u flags Program sensors-detect: recognize Asus "ASB100 Bach" as AS99127F 2.6.4 (20020719) diff --git a/prog/sensors/main.c b/prog/sensors/main.c index d9b8dd4c..37a82641 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -158,7 +158,7 @@ int main (int argc, char *argv[]) do_sets = 0; hide_adapter = 0; while (1) { - c = getopt_long(argc,argv,"hsvfAcu:",long_opts,NULL); + c = getopt_long(argc,argv,"hsvfAc:u",long_opts,NULL); if (c == EOF) break; switch(c) {