[Pkg-privacy-commits] [msva-perl] 254/356: add --help usage to msva-query-agent

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:02 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 089901a63943988e39226dbcc69e6923d1969bdd
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Wed Dec 22 16:09:56 2010 -0500

    add --help usage to msva-query-agent
---
 msva-query-agent | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/msva-query-agent b/msva-query-agent
index c8ebdd2..784c16f 100755
--- a/msva-query-agent
+++ b/msva-query-agent
@@ -22,6 +22,10 @@ use strict;
 use Crypt::Monkeysphere::MSVA::Client;
 
 my $context = shift;
+if ($context eq '--help') {
+    printf("Usage: msva-query-agent CONTEXT PEER PKC_TYPE [PEER_TYPE] <PKC_DATA\n");
+    exit 0;
+}
 my $peer = shift;
 my $pkctype = shift;
 my $peertype = shift;

-- 
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