Petrb has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/66262


Change subject: improved a help of sql command a bit
......................................................................

improved a help of sql command a bit

Change-Id: Idb74f2161647a7afcdc4e07f833f277c7d302542
---
M modules/toollabs/files/sql
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/62/66262/1

diff --git a/modules/toollabs/files/sql b/modules/toollabs/files/sql
index 79a2d03..99b9875 100755
--- a/modules/toollabs/files/sql
+++ b/modules/toollabs/files/sql
@@ -12,15 +12,20 @@
 }
 
 if [ $# -lt 1 ];then
-    echo "Usage: sql <database name|wiki name> [-v]"
+    echo "Usage: sql <database name|wiki name> [-vh] type sql --help for more 
help"
     exit 0
 fi
 
 if [ "$1" = "-h" ] || [ "$1" == "--help" ];then
+       echo "Usage: sql <database>[_p] [-vh]"
+       echo
        echo "This tool allows you to easily open a connection to sql database 
without having to provide the credentials or a database host server"
        echo "Example: sql frwiki_p"
+       echo
        echo "Parameters:"
        echo "  -v: verbose - produce various information about the resolution 
of db"
+       echo
+       echo "Report bugs to bugzilla"
        exit 0
 fi
 

-- 
To view, visit https://gerrit.wikimedia.org/r/66262
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb74f2161647a7afcdc4e07f833f277c7d302542
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Petrb <benap...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to