mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

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