From owner-cvs-all Thu Jun 27 14: 1:56 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 39CD637B413; Thu, 27 Jun 2002 14:01:33 -0700 (PDT) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5RL1XJU022746; Thu, 27 Jun 2002 14:01:33 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5RL1XDl022745; Thu, 27 Jun 2002 14:01:33 -0700 (PDT) Message-Id: <200206272101.g5RL1XDl022745@freefall.freebsd.org> From: Juli Mallett Date: Thu, 27 Jun 2002 14:01:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/lam lam.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/06/27 14:01:33 PDT Modified files: usr.bin/lam lam.c Log: Instead of not using argc and doing other great evil, check for no arguments in main() and print usage, or if there are too many arguments, handle that there, too. Revision Changes Path 1.9 +7 -6 src/usr.bin/lam/lam.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message