From c295da80f59f66ffb2eb84422a66113b9bdb67db Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 16 Nov 2011 23:05:28 +0000 Subject: [PATCH] fix option handling --- infrastructure/bin/out-of-date | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/bin/out-of-date b/infrastructure/bin/out-of-date index 3db9ddb94ea..fa7c4e724b7 100755 --- a/infrastructure/bin/out-of-date +++ b/infrastructure/bin/out-of-date @@ -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 # @@ -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 {