From 251534965c8fe8d3942e22b23b30de577f5c8297 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 1 Mar 2010 15:59:46 +0000 Subject: added empty carts checkbox and cmd line option use german in gui git-svn-id: https://svn.helsinki.at/rhimport/trunk@21 7c65635b-ec39-4f67-a626-873dbafdd612 diff --git a/rhimport b/rhimport index ee1f552..46794b6 100755 --- a/rhimport +++ b/rhimport @@ -38,23 +38,26 @@ my $DB = "rivendell"; my $HELP = 0; my $FILE = ""; my $POOL = 0; +my $EMPTYCARTS = 1; my $DROPBOX = ""; my $LISTALLOWED = 0; GetOptions ("help!" => \$HELP, "file=s" => \$FILE, "pool!" => \$POOL, + "empty-carts!" => \$EMPTYCARTS, "dropbox=s" => \$DROPBOX, "list-allowed!" => \$LISTALLOWED, ); if($HELP) { print << "EOF"; -usage: $0 --file