From f4905cca69e68d6eedc9c1a827d190e3843fa0ec Mon Sep 17 00:00:00 2001
From: Cedric CAFFY <cedric.caffy@cern.ch>
Date: Fri, 20 Dec 2019 15:20:26 +0100
Subject: [PATCH] Added user documentation for cta-catalogue-schema-verify
 --help

---
 catalogue/VerifySchemaCmdLineArgs.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/catalogue/VerifySchemaCmdLineArgs.cpp b/catalogue/VerifySchemaCmdLineArgs.cpp
index 82bacbd672..3f2644857a 100644
--- a/catalogue/VerifySchemaCmdLineArgs.cpp
+++ b/catalogue/VerifySchemaCmdLineArgs.cpp
@@ -107,8 +107,12 @@ void VerifySchemaCmdLineArgs::printUsage(std::ostream &os) {
     "        The path to the file containing the connection details of the CTA" << std::endl <<
     "        catalogue database" << std::endl <<
     "Options:" << std::endl <<
-    "    -h,--help" << std::endl <<
-    "        Prints this usage message" << std::endl;
+    "    -h,--help" << std::endl <<     
+    "        Prints this usage message" << std::endl <<
+    "    -s,--schemaversionsdirectory " << std::endl <<
+    "        Specify the path of the directory where the schema .sql files are located." << std::endl <<
+    "        Example : if the schema sql files are located in /tmp/schema/VERSION_MAJOR.VERSION_MINOR/DATABASETYPE_catalogue_schema.sql " << std::endl <<
+    "                  the path should be /tmp/schema/" << std::endl;
 }
 
 } // namespace catalogue
-- 
GitLab