aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-05-14 13:25:34 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2013-05-14 13:25:34 +0000
commit045ec749566683e9a4471a81901b7a3f37066376 (patch)
tree8109a733e90282f03ec1d5ed02f6ebaf3e0100e8
parentc3df0bf5f64241cb7ea00c1894da7f81e055a2aa (diff)
downloadgdbm-045ec749566683e9a4471a81901b7a3f37066376.tar.gz
gdbm-045ec749566683e9a4471a81901b7a3f37066376.tar.bz2
Fix distcheck.
-rw-r--r--po/POTFILES.in5
-rw-r--r--src/Makefile.am2
-rw-r--r--src/gdbmtool.c40
3 files changed, 27 insertions, 20 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ce3d71d..d259891 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -26,3 +26,6 @@ src/gdbmstore.c
src/parseopt.c
-src/testgdbm.c
+src/gdbmtool.c
src/update.c
+src/gram.y
+src/lex.l
+src/datconv.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 832fd55..bf2f21e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -89,2 +89,4 @@ gdbmtool_SOURCES = \
+EXTRA_DIST = gram.h
+
AM_YFLAGS = -dtv
diff --git a/src/gdbmtool.c b/src/gdbmtool.c
index 20c60d8..a561bfc 100644
--- a/src/gdbmtool.c
+++ b/src/gdbmtool.c
@@ -401,2 +401,3 @@ struct handler_param
+/* Open database */
void
@@ -411,2 +412,3 @@ open_handler (struct handler_param *param)
+/* Close database */
void
@@ -421,3 +423,3 @@ close_handler (struct handler_param *param)
-/* c - count */
+/* count - count items in the database */
void
@@ -431,3 +433,3 @@ count_handler (struct handler_param *param)
-/* d key - delete */
+/* delete KEY - delete a key*/
void
@@ -444,3 +446,3 @@ delete_handler (struct handler_param *param)
-/* f key - fetch */
+/* fetch KEY - fetch a record by its key */
void
@@ -459,3 +461,3 @@ fetch_handler (struct handler_param *param)
-/* s key data - store */
+/* store KEY DATA - store data */
void
@@ -469,3 +471,3 @@ store_handler (struct handler_param *param)
-/* 1 - begin iteration */
+/* first - begin iteration */
@@ -492,3 +494,3 @@ firstkey_handler (struct handler_param *param)
-/* n [key] - next key */
+/* next [KEY] - next key */
void
@@ -525,3 +527,3 @@ nextkey_handler (struct handler_param *param)
-/* r - reorganize */
+/* reorganize */
void
@@ -535,3 +537,3 @@ reorganize_handler (struct handler_param *param ARG_UNUSED)
-/* A - print available list */
+/* avail - print available list */
int
@@ -598,3 +600,3 @@ getnum (int *pnum, char *arg, char **endp)
-/* B num - print a bucket and set is a current one.
+/* bucket NUM - print a bucket and set it as a current one.
Uses print_current_bucket_handler */
@@ -623,3 +625,3 @@ print_bucket_begin (struct handler_param *param, size_t *exp_count)
-/* D - print hash directory */
+/* dir - print hash directory */
int
@@ -648,3 +650,3 @@ print_dir_handler (struct handler_param *param)
-/* F - print file handler */
+/* header - print file handler */
int
@@ -681,3 +683,3 @@ print_header_handler (struct handler_param *param)
-/* H key - hash the key */
+/* hash KEY - hash the key */
void
@@ -689,3 +691,3 @@ hash_handler (struct handler_param *param)
-/* K - print the bucket cache */
+/* cache - print the bucket cache */
int
@@ -706,3 +708,3 @@ print_cache_handler (struct handler_param *param)
-/* V - print GDBM version */
+/* version - print GDBM version */
void
@@ -713,3 +715,3 @@ print_version_handler (struct handler_param *param)
-/* l - List all entries */
+/* list - List all entries */
int
@@ -751,3 +753,3 @@ list_handler (struct handler_param *param)
-/* q - quit the program */
+/* quit - quit the program */
void
@@ -761,3 +763,3 @@ quit_handler (struct handler_param *param ARG_UNUSED)
-/* e file [truncate] - export to a flat file format */
+/* export FILE [truncate] - export to a flat file format */
void
@@ -791,3 +793,3 @@ export_handler (struct handler_param *param)
-/* i file [replace] - import from a flat file */
+/* import FILE [replace] [nometa] - import from a flat file */
void
@@ -859,3 +861,3 @@ import_handler (struct handler_param *param)
-/* S - print current program status */
+/* status - print current program status */
void

Return to:

Send suggestions and report system problems to the System administrator.