From 191f7240ede1b0f1ef8f78739908beda91142606 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Wed, 4 Apr 2001 23:22:40 +0000 Subject: [PATCH] add example chip names to long help, it wasn't obvious. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1059 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/sensors/main.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/prog/sensors/main.c b/prog/sensors/main.c index d8846640..21ca879b 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -69,9 +69,17 @@ void print_long_help(void) printf(" -u, --unknown Treat chips as unknown ones (testing only)\n"); printf(" -v, --version Display the program version\n"); printf("\n"); - printf("By default, a list of directories is examined for the config file `sensors.conf'\n"); - printf("Use `-' after `-c' to read the config file from stdin\n"); - printf("If no chips are specified, all chip info will be printed\n"); + printf("By default, a list of directories is examined for config file `sensors.conf'.\n"); + printf("Use `-' after `-c' to read the config file from stdin.\n"); + printf("If no chips are specified, all chip info will be printed.\n"); + printf("Example chip names:\n"); + printf("\tlm78-i2c-0-2d\t*-i2c-0-2d\n"); + printf("\tlm78-i2c-0-*\t*-i2c-0-*\n"); + printf("\tlm78-i2c-*-2d\t*-i2c-*-2d\n"); + printf("\tlm78-i2c-*-*\t*-i2c-*-*\n"); + printf("\tlm78-isa-0290\t*-isa-0290\n"); + printf("\tlm78-isa-*\t*-isa-*\n"); + printf("\tlm78-*\n"); } void print_version(void)