summaryrefslogtreecommitdiffabout
path: root/src/gdbm_dump.c
Side-by-side diff
Diffstat (limited to 'src/gdbm_dump.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbm_dump.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gdbm_dump.c b/src/gdbm_dump.c
index 9120f04..d6318b1 100644
--- a/src/gdbm_dump.c
+++ b/src/gdbm_dump.c
@@ -22,7 +22,7 @@
char *parseopt_program_doc = "dump a GDBM database to a file";
char *parseopt_program_args = "DB_FILE [FILE]";
struct gdbm_option optab[] = {
- { 'H', "format", N_("0|1"), N_("select dump format") },
+ { 'H', "format", "binary|ascii|0|1", N_("select dump format") },
{ 0 }
};
@@ -36,6 +36,12 @@ main (int argc, char **argv)
char *dbname, *filename;
FILE *fp;
+#ifdef HAVE_SETLOCALE
+ setlocale (LC_ALL, "");
+#endif
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
set_progname (argv[0]);
for (opt = parseopt_first (argc, argv, optab);

Return to:

Send suggestions and report system problems to the System administrator.