From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SCLBk-0007zq-T9 for garchives@archives.gentoo.org; Tue, 27 Mar 2012 01:27:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9216BE07A0; Tue, 27 Mar 2012 01:26:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F67FE07A0 for ; Tue, 27 Mar 2012 01:26:33 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8CE821B4014 for ; Tue, 27 Mar 2012 01:26:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9868DE5432 for ; Tue, 27 Mar 2012 01:26:29 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1330959150.cf352a74150e28c06f15b801e9edf239ffcc4be7.kent@gentoo> Subject: [gentoo-commits] proj/perl-overlay:master commit in: scripts/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: scripts/fixvdep.pl X-VCS-Directories: scripts/ X-VCS-Committer: kent X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: cf352a74150e28c06f15b801e9edf239ffcc4be7 X-VCS-Branch: master Date: Tue, 27 Mar 2012 01:26:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d0f41175-c87f-4eb6-8984-910f28dc3d1f X-Archives-Hash: 2fb697933eacb3687129137873c9855d commit: cf352a74150e28c06f15b801e9edf239ffcc4be7 Author: Kent Fredric gmail com> AuthorDate: Mon Mar 5 14:52:30 2012 +0000 Commit: Kent Fredric gmail com> CommitDate: Mon Mar 5 14:52:30 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3Dcf352a74 [scripts/fixvdep.pl] Clarify usage in documentation --- scripts/fixvdep.pl | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/scripts/fixvdep.pl b/scripts/fixvdep.pl old mode 100644 new mode 100755 index 3a77406..7f16464 --- a/scripts/fixvdep.pl +++ b/scripts/fixvdep.pl @@ -6,7 +6,20 @@ use warnings; # CREATED: 12/11/11 00:52:15 by Kent Fredric (kentnl) # ABSTRACT: Fix up version deps on a specific package in (a) given ebuil= d(s) =20 +if ( not @ARGV or grep { /-h|--help/ } @ARGV ) { + print <<"MSG"; =20 + Usage: + + fixvdep.pl Perl-Module-Name oldformat newformat \@files; + + ie: + + fixdep.pl Moose 0.91 0.910.0 ./*/*.ebuild + +MSG + exit 0; +} my ( $pkg, $oldversion , $newversion , @files ) =3D @ARGV; @ARGV =3D (); =20