From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- spectro/oeminst.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'spectro/oeminst.c') diff --git a/spectro/oeminst.c b/spectro/oeminst.c index 88efae0..2aa96e5 100644 --- a/spectro/oeminst.c +++ b/spectro/oeminst.c @@ -37,7 +37,7 @@ void usage(void) { fprintf(stderr,"Install OEM data files, Version %s\n",ARGYLL_VERSION_STR); fprintf(stderr,"Author: Graeme W. Gill, licensed under the GPL Version 2 or later\n"); fprintf(stderr,"usage: oeminst [-options] [infile(s)]\n"); - fprintf(stderr," -v Verbose\n"); + fprintf(stderr," -v [level] Verbose\n"); fprintf(stderr," -n Don't install, show where files would be installed\n"); fprintf(stderr," -c Don't install, save files to current directory\n"); fprintf(stderr," -S d Specify the install scope u = user (def.), l = local system]\n"); @@ -88,6 +88,10 @@ main(int argc, char *argv[]) { /* Verbosity */ else if (argv[fa][1] == 'v' || argv[fa][1] == 'V') { verb = 1; + if (na != NULL && na[0] >= '0' && na[0] <= '9') { + verb = atoi(na); + fa = nfa; + } } /* No install */ -- cgit v1.2.3