diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-01-19 18:19:41 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-01-19 18:19:41 -0500 |
commit | d5831d12e7fca30c8683eb34900bf5f8526fe128 (patch) | |
tree | 754fd29fe0959a06eb8ce40d6cb9d238dbf4e8ee | |
parent | 2cd70269d2db002de23088b6dad464b8254b9883 (diff) | |
download | gdbmdump-d5831d12e7fca30c8683eb34900bf5f8526fe128.tar.gz gdbmdump-d5831d12e7fca30c8683eb34900bf5f8526fe128.tar.xz gdbmdump-d5831d12e7fca30c8683eb34900bf5f8526fe128.zip |
- add a format=print if we're doing vaguely-printable text
-rw-r--r-- | gdbmdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright 2008 Red Hat, Inc. + * Copyright 2008,2010 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,6 +40,9 @@ dump_start(int total, const char *name) if (total > 1) { printf("database=%s\n", name); } + if (pflag) { + printf("format=print\n"); + } printf("type=hash\n"); printf("HEADER=END\n"); } |