#!/usr/bin/perl -w # # # rhimport # # Copyright (C) 2009-2015 Christian Pointner # # This file is part of rhimport. # # rhimport is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # rhimport is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with rhimport. If not, see . # use strict; use Getopt::Long; use lib '/usr/local/share/rhimport/'; use rhimport; my $HELP = 0; my $FILE = ""; my $DROPBOX = ""; my $LISTALLOWED = 0; GetOptions ("help!" => \$HELP, "file=s" => \$FILE, "dropbox=s" => \$DROPBOX, "list-allowed!" => \$LISTALLOWED, ) or die(); if($HELP) { print << "EOF"; usage: $0 --file