#!/bin/sh
###############################################################################
#																			  #
#				Copyright (C) 1985 - 1993, Alias Research, Inc.				  #
#																			  #
#	  These coded instructions,  statements and  computer programs contain	  #
#	  unpublished information proprietary to Alias Research, Inc.  and are	  #
#	  protected by the Canadian and US Federal copyright law. They may not	  #
#	  be disclosed to third parties  or copied  or duplicated, in whole or	  #
#	  in part,  without the prior written consent of Alias Research,  Inc.	  #
#																			  #
# Unpublished-rights reserved under the Copyright Laws of the United States.  #
#																			  #
###############################################################################
#
#	$Source: /tmp_mnt/repo/root/usr/store/alias5.1/src/Utility/stand/RCS/viewErrlog.sh,v $
#	$Revision: 5.2 $
#	$Author: edirks $
#	$Date: 94/05/26 14:58:19 $
#
###############################################################################
#
#	filename: viewErrlog
#	purpose : to display the Alias errlog file (./errlog)
#
#	usage:
#
#	viewErrlog [-h]
#
#	where -h displays a help message and exits.
#
###############################################################################

Usage()
{
	/bin/cat << EOF

Purpose:   Display the Alias errlog
Usage:     $0 [-Flags]
Flags:     h - displays this help message.

EOF
}

set -- `getopt :h $*`

while [ $1 != -- ]
do
	case $opt in
	 h )
		Usage
		exit 0
		;;
	 \? )
		Usage
		exit 1
		;;
	esac
done

set REPLY = `aliasWarning -b Ok -t "Errlog" -f ./errlog`
exit 0

