]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.c
Doc, Vol name scan, misc
[bacula/bacula] / bacula / src / stored / stored.c
index 3b253ca93c17eb0c0b7675536016e9f4657547d7..615d941962ee4e7c757932fea967982447e2ab70 100644 (file)
@@ -71,6 +71,7 @@ static void usage()
 "        -s          no signals (for debugging)\n"
 "        -t          test - read config and exit\n"
 "        -u          userid\n"
+"        -v          verbose user messages\n"
 "        -?          print this message.\n"
 "\n"));
    exit(1);
@@ -105,7 +106,7 @@ int main (int argc, char *argv[])
       Emsg1(M_ABORT, 0, "Tape block size (%d) is not a power of 2\n", TAPE_BSIZE);
    }
 
-   while ((ch = getopt(argc, argv, "c:d:fg:stu:?")) != -1) {
+   while ((ch = getopt(argc, argv, "c:d:fg:stu:v?")) != -1) {
       switch (ch) {
          case 'c':                    /* configuration file */
            if (configfile != NULL) {
@@ -141,6 +142,10 @@ int main (int argc, char *argv[])
            uid = optarg;
            break;
 
+         case 'v':                    /* verbose */
+           verbose++;
+           break;
+
          case '?':
         default:
            usage();