From: Norbert Moutarde Date: Sun, 23 Jun 2013 19:46:13 +0000 (+0200) Subject: updated alias() X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=737ad2d826ca1e7bafbd946eb6c051c38c88b4fd;p=diary-shell updated alias() --- diff --git a/sqldb.cpp b/sqldb.cpp index fb72715..d3abf8c 100644 --- a/sqldb.cpp +++ b/sqldb.cpp @@ -239,36 +239,25 @@ inline int sqlpg::testSQL(PGresult* a){ } bool sqlpg::alias(vector a){ string cmd; - cmd="select command from alias where nom='"+a[0]+"';"; + cmd="select command, argc from alias where nom='"+a[0]+"';"; //cout<<"cmd="<