From: Norbert Moutarde Date: Mon, 29 Jul 2013 15:32:45 +0000 (+0200) Subject: small mistake X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=a5980bfb050703fc84d604b8400f4b3df3c1521e;p=diary-shell small mistake --- diff --git a/alias.sql b/alias.sql index 5773695..eefc811 100644 --- a/alias.sql +++ b/alias.sql @@ -4,7 +4,7 @@ insert into alias (nom, cmd, argc, help) values ('ls', 'select * from raw where insert into alias (nom, cmd, argc, help) values ('ls', 'select * from raw where date between $1 and $2 order by date asc;', 2, 'liste record with date between $1 and $2'); INSERT INTO alias (nom, cmd, argc, help) VALUES ('search', 'select id,texte from raw where texte ~ $1 order by date asc;', 1, 'search record who contains your arg (only one arg)'); INSERT INTO alias (nom, cmd, argc, help) VALUES ('rm', 'DELETE FROM raw WHERE id =$1;', 1, 'delete record by ID'); -INSERT INTO alias (nom, cmd, argc, help) VALUES ('rmm', 'DELETE FROM memo WHERE id =$1;', 1, 'delete record by ID'); +INSERT INTO alias (nom, cmd, argc, help) VALUES ('rmm', 'DELETE FROM memo WHERE id =$1;', 1, 'delete memo by ID'); insert into alias (nom, cmd, argc, help) values ('var', 'select nom from var;', 0, 'print avery var'); insert into alias (nom, cmd, argc, help) values ('var', 'select value from var where nom=$1;', 1, 'print named var content'); insert into alias (nom, cmd, argc, help) values ('var', 'insert into var (nom, value) values ($1, $2);', 2, 'add new var and it''s content'); @@ -21,4 +21,4 @@ insert into alias (nom, cmd, argc, inf, help) values ('aliasadd', 'insert into a insert into alias (nom, cmd, argc, help) values ('get', 'select service,password from credential where username=$1;', 1, 'command to retrieve service and password with a user name (perhaps more than one)'); insert into alias (nom, cmd, argc, help) values ('get', 'select distinct service from credential;', 0, 'get a list of service you have credential for'); insert into alias (nom, cmd, argc, help) values ('getpass', 'select password from credential where service=$1 and username=$2;', 2, 'retrieve one saved password (as service and user has unique constraint)'); - +insert into alias (nom, cmd, argc, help) values ('info', 'select date from raw where id=$1;', 1, 'retrieve date from a saved entry');