--- loncom/debugging_tools/dump_db.pl 2002/08/19 14:37:14 1.1 +++ loncom/debugging_tools/dump_db.pl 2002/09/04 20:49:16 1.2 @@ -4,7 +4,7 @@ # # dump_db.pl - dump a GDBM database to standard output, unescaping if asked to. # -# $Id: dump_db.pl,v 1.1 2002/08/19 14:37:14 matthew Exp $ +# $Id: dump_db.pl,v 1.2 2002/09/04 20:49:16 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,7 +38,8 @@ use GDBM_File; my $unesc = 0; my $help = 0; GetOptions("unescape" => \$unesc, - "help" => \$help); + "u" => \$unesc, + "help" => \$help); # # Help them out if they ask for it @@ -51,6 +52,7 @@ database. Options: --help Display this help. --unescape Unescape the keys and values before printing them out. + --u Same as --unescape Examples: dump_db.pl mydata.db dump_db.pl mydata.db yourdata.db ourdata.db theirdata.db