]> git.donarmstrong.com Git - debbugs.git/commitdiff
build-versions-db doesn't need hostname
authorDon Armstrong <don@donarmstrong.com>
Sun, 13 Nov 2016 00:07:09 +0000 (16:07 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 13 Nov 2016 00:07:09 +0000 (16:07 -0800)
examples/debian/versions/build-versions-db

index 16eb5369f2ba47c8aa4173caab73cf5f88a27760..79470817c7b32522bdb9703476f0c8bc49a18b41 100755 (executable)
@@ -62,12 +62,9 @@ use Fcntl;
 my %options = (debug           => 0,
                help            => 0,
                man             => 0,
-               compprefix      => '',
               );
 
 GetOptions(\%options,
-           'hostname=s',
-           'compprefix=s',
            'debug|d+','help|h|?','man|m');
 
 pod2usage() if $options{help};
@@ -76,9 +73,6 @@ pod2usage({verbose=>2}) if $options{man};
 $DEBUG = $options{debug};
 
 my @USAGE_ERRORS;
-if (not defined $options{hostname}) {
-    push @USAGE_ERRORS,"You must provide a hostname";
-}
 
 if (not @ARGV >= 4) {
     push @USAGE_ERRORS,