blob: a17afbac95dd7cbc96bd679d46036e251d69509e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- tdb-1.0.6/tdbtool.c.old 2001-12-10 22:45:47.000000000 -0500
+++ tdb-1.0.6/tdbtool.c 2003-10-02 22:41:51.000000000 -0400
@@ -169,22 +169,22 @@
static void help(void)
{
- printf("
-tdbtool:
- create dbname : create a database
- open dbname : open an existing database
- erase : erase the database
- dump dumpname : dump the database as strings
- insert key data : insert a record
- store key data : store a record (replace)
- show key : show a record by key
- delete key : delete a record by key
- list : print the database hash table and freelist
- free : print the database freelist
- 1 | first : print the first record
- n | next : print the next record
- q | quit : terminate
- \\n : repeat 'next' command
+ printf("\n\
+tdbtool:\n\
+ create dbname : create a database\n\
+ open dbname : open an existing database\n\
+ erase : erase the database\n\
+ dump dumpname : dump the database as strings\n\
+ insert key data : insert a record\n\
+ store key data : store a record (replace)\n\
+ show key : show a record by key\n\
+ delete key : delete a record by key\n\
+ list : print the database hash table and freelist\n\
+ free : print the database freelist\n\
+ 1 | first : print the first record\n\
+ n | next : print the next record\n\
+ q | quit : terminate\n\
+ \\n : repeat 'next' command\n\
");
}
|