[Pkg-privacy-commits] [msva-perl] 278/356: msva-query-agent report usage when no arguments are given
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository msva-perl.
commit 8dd049babf5d3436c3fc1350140f25d0ea095eb0
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Thu Dec 30 16:53:37 2010 -0500
msva-query-agent report usage when no arguments are given
---
msva-query-agent | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/msva-query-agent b/msva-query-agent
index 62e291a..ef8a2d4 100755
--- a/msva-query-agent
+++ b/msva-query-agent
@@ -22,7 +22,8 @@ use strict;
use Crypt::Monkeysphere::MSVA::Client;
my $context = shift;
-if ($context eq '--help') {
+if ((!defined($context)) ||
+ $context eq '--help') {
printf STDERR "Usage: msva-query-agent CONTEXT PEER PKC_TYPE [PEER_TYPE] <PKC_DATA\n";
printf STDERR " msva-query-agent CONTEXT PEER PKC_TYPE PEER_TYPE PKC_DATA\n";
printf STDERR " msva-query-agent --version\n";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git
More information about the Pkg-privacy-commits
mailing list