Project

General

Profile

« Previous | Next » 

Revision 10888

lib/sh/db.sh: mysql_cmd(): added caller usage with connection/login opts

View differences:

lib/sh/db.sh
89 89
if self_being_included; then
90 90

  
91 91
# usage: mysql*() { ...; mysql_cmd "$@"; } (with alias)
92
# caller usage: [ssh_server=...] [server=...] [user=...] [password=...] mysql*()
92 93
function mysql_cmd() # usage: mysql*() { ...; mysql_cmd cmd "$@"; }
93 94
# auto-adds connection/login opts when specified
94 95
{

Also available in: Unified diff