summaryrefslogtreecommitdiff
path: root/server/wallet-backend
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-08-13 23:36:45 +0000
committerRuss Allbery <rra@stanford.edu>2008-08-13 23:36:45 +0000
commit4b1df0699a800411c106b96974eab52b737e2d60 (patch)
tree20129e241d65309fbfdba81e625f54ebb82960ad /server/wallet-backend
parent9005bfd326257207e2e3cc6d12b511453ff3b879 (diff)
Correctly handle storing of data that begins with a dash and don't
parse it as an argument to wallet-backend.
Diffstat (limited to 'server/wallet-backend')
-rwxr-xr-xserver/wallet-backend1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/wallet-backend b/server/wallet-backend
index c002d89..ff63ba8 100755
--- a/server/wallet-backend
+++ b/server/wallet-backend
@@ -295,6 +295,7 @@ sub command {
# Parse command-line options.
my ($quiet);
+Getopt::Long::config ('require_order');
GetOptions ('q|quiet' => \$quiet) or exit 1;
$SYSLOG = 0 if $quiet;