1# -h: print this help message and exits 2 3# $Id: h.t,v 3.0 1993/11/29 13:50:17 ram Exp ram $ 4# 5# Copyright (c) 1990-2006, Raphael Manfredi 6# 7# You may redistribute only under the terms of the Artistic License, 8# as specified in the README file that comes with the distribution. 9# You may reuse parts of this distribution only within the terms of 10# that same Artistic License; a copy of which may be found at the root 11# of the source tree for mailagent 3.0. 12# 13# $Log: h.t,v $ 14# Revision 3.0 1993/11/29 13:50:17 ram 15# Baseline for mailagent 3.0 netwide release. 16# 17 18do '../pl/init.pl'; 19$output = `$mailagent -h 2>&1`; 20$? != 0 || print "1\n"; # -h -> exit status 1 21$output =~ /-h : print/m || print "2\n"; 22print "0\n"; 23