mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
--- tdb-1.0.6/tdbtool.c 2001-12-10 22:45:47.000000000 -0500
|
|
+++ ./tdbtool.c 2003-12-31 19:44:50.000000000 -0500
|
|
@@ -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("\
|
|
+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\
|
|
");
|
|
}
|
|
|