From 751e40805556fadec616aa79150f12e3bf87c46b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 29 Apr 2011 15:26:19 -0400 Subject: Make findMergedChanges.pl print a usage msg when started with no args Otherwise I need to figure out what it does and how to make it do it every time I want to use it. It did that unixy thing where running it with no arguments printed nothing and returned. --- contrib/findMergedChanges.pl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'contrib') diff --git a/contrib/findMergedChanges.pl b/contrib/findMergedChanges.pl index 169471680..460424f30 100755 --- a/contrib/findMergedChanges.pl +++ b/contrib/findMergedChanges.pl @@ -16,6 +16,26 @@ sub nChanges { my $look_for_type = "merged"; +if (! @ARGV) { + print <