diff options
Diffstat (limited to 'src/sh_getopt.c')
-rw-r--r-- | src/sh_getopt.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/sh_getopt.c b/src/sh_getopt.c index 7969d4e..8480614 100644 --- a/src/sh_getopt.c +++ b/src/sh_getopt.c @@ -290,6 +290,11 @@ static opttable_t op_table[] = { N_("Create database from file list"), HAS_ARG_YES, sh_dbCreate}, + { N_("init-rootfs"), + '-', + N_("Build database based on another rootfs"), + HAS_ARG_YES, + sh_dbIO_init_rootfs}, { N_("wait-on-check"), 'w', N_("Timed wait for end of filecheck (0 for no timeout)"), @@ -417,8 +422,8 @@ static void sh_getopt_print_log_facilities (void) #endif #ifdef HAVE_LIBPRELUDE - if (num > 0) fputc ('\n', stdout); ++num; - fputs (_(" prelude (0.9.6+)"), stdout); + if (num > 0) fputc ('\n', stdout); + fputs (_(" prelude (0.9.6+)"), stdout); ++num; #endif if (num == 0) @@ -475,10 +480,10 @@ static void sh_getopt_print_options (void) #ifdef WITH_GPG if (num > 0) fputc ('\n', stdout); - printf (_(" GnuPG signatures (%s)"), DEFAULT_GPG_PATH); ++num; -#ifdef HAVE_GPG_CHECKSUM + printf (_(" GnuPG signatures (%s)"), DEFAULT_SIG_PATH); ++num; +#ifdef HAVE_SIG_CHECKSUM if (num > 0) fputc ('\n', stdout); - printf (_(" -- GnuPG checksum: %s"), GPG_HASH); ++num; + printf (_(" -- GnuPG checksum: %s"), SIG_HASH); ++num; #endif #ifdef USE_FINGERPRINT if (num > 0) fputc ('\n', stdout); @@ -634,7 +639,7 @@ static int sh_getopt_version (const char * dummy) static int sh_getopt_copyright (const char * dummy) { fprintf (stdout, "%s", - _("Copyright (C) 1999-2008 Rainer Wichmann"\ + _("Copyright (C) 1999-2019 Rainer Wichmann"\ " (http://la-samhna.de).\n\n")); fprintf (stdout, "%s", |