summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-14 01:41:53 +0000
committerTim Potter <tpot@samba.org>2003-04-14 01:41:53 +0000
commit6e83ee3d5040af1f5ebf396337ca43ee4d5f812c (patch)
tree3dd75e22f3835b071b0631076afc520b5bea5d06 /source3
parent41ba5854292075a4a53d1d919336af3aee0727ce (diff)
downloadsamba-6e83ee3d5040af1f5ebf396337ca43ee4d5f812c.tar.gz
samba-6e83ee3d5040af1f5ebf396337ca43ee4d5f812c.tar.bz2
samba-6e83ee3d5040af1f5ebf396337ca43ee4d5f812c.zip
Multi-line string constants have been deprecated in newer versions of gcc.
Found by Guenther Deschner. (This used to be commit 29c6d2f61cd3f7fb09913cf918b416aebecaf5ad)
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/tdbtool.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c
index f5e486be14..221ef4a5f2 100644
--- a/source3/tdb/tdbtool.c
+++ b/source3/tdb/tdbtool.c
@@ -111,23 +111,23 @@ static void print_data(unsigned char *buf,int len)
static void help(void)
{
- printf("
-tdbtool:
- create dbname : create a database
- open dbname : open an existing database
- erase : erase the database
- dump : 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 : 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"
+"\n");
}
static void terror(char *why)