Welcome to little lamb

Code » ssp » commit 042bbcc

Cosmetic tweak: Don't always say "from/to the db"

author Olivier Brunel
2023-04-18 12:34:07 UTC
committer Olivier Brunel
2023-04-19 07:36:03 UTC
parent ecc8134c49dc525da7fabe18bda1e33f67af24a5

Cosmetic tweak: Don't always say "from/to the db"

src/ssp/add.c +1 -1
src/ssp/list.c +1 -1
src/ssp/remove.c +1 -1

diff --git a/src/ssp/add.c b/src/ssp/add.c
index 681dc95..98f5074 100644
--- a/src/ssp/add.c
+++ b/src/ssp/add.c
@@ -17,7 +17,7 @@ struct add {
     const char *comments;
 };
 
-COMMAND(add, "Add a new site to the database",
+COMMAND(add, "Add a new site",
         "<site> [OPTION..] <secret>",
 " -a, --algo ALGO                       Set ALGO as hashing algorithm [sha256]\n"
 "                                       Use 'list' to list available algorithms\n"
diff --git a/src/ssp/list.c b/src/ssp/list.c
index a286450..f0eac83 100644
--- a/src/ssp/list.c
+++ b/src/ssp/list.c
@@ -22,7 +22,7 @@ struct list {
     const char *ptrn;
 };
 
-COMMAND(list, "List all sites in the database",
+COMMAND(list, "List all sites",
         "[OPTION..] [<pattern>]",
 " -C, --no-comments                     Do not show comments with --details/--format\n"
 " -d, --details                         Show sites' details\n"
diff --git a/src/ssp/remove.c b/src/ssp/remove.c
index 025da91..c7f1def 100644
--- a/src/ssp/remove.c
+++ b/src/ssp/remove.c
@@ -8,7 +8,7 @@
 #include "ssp.h"
 
 
-COMMAND(remove, "Remove a site from database", "<site>", NULL);
+COMMAND(remove, "Remove a site", "<site>", NULL);
 
 int
 remove_main(int argc, const char *argv[], const char *env[], const char usage[], void *ctx_)