fix option handling

This commit is contained in:
espie 2011-11-16 23:05:28 +00:00
parent 02f90ab638
commit c295da80f5

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: out-of-date,v 1.3 2011/11/16 22:59:42 espie Exp $
# $OpenBSD: out-of-date,v 1.4 2011/11/16 23:05:28 espie Exp $
#
# Copyright (c) 2005 Bernd Ahlers <bernd@openbsd.org>
#
@ -28,7 +28,7 @@ use OpenBSD::AddCreateDelete;
our $opt_q;
my $state = OpenBSD::AddCreateDelete::State->new("out-of-date");
OpenBSD::AddCreateDelete->handle_options('q', $state, "[-mvxq]");
$state->handle_options('q', "[-mvxq]");
sub collect_installed
{