From owner-cvs-bin Tue Jun 3 18:40:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA08845 for cvs-bin-outgoing; Tue, 3 Jun 1997 18:40:52 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA08790; Tue, 3 Jun 1997 18:40:32 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA09829; Wed, 4 Jun 1997 11:10:29 +0930 (CST) From: Michael Smith Message-Id: <199706040140.LAA09829@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/bin/hostname hostname.1 hostname.c In-Reply-To: <199706031643.CAA22461@godzilla.zeta.org.au> from Bruce Evans at "Jun 4, 97 02:43:14 am" To: bde@zeta.org.au (Bruce Evans) Date: Wed, 4 Jun 1997 11:10:28 +0930 (CST) Cc: charnier@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans stands accused of saying: > > Modified files: > > bin/hostname hostname.1 hostname.c > > Log: > > /etc/netstart -> /etc/rc.network > > Use __progname in usage string. Change usage string to match the man page. > > Please don't use __progname. It is an undocumented internal library > variable (for use in messages in the startup code and library). It is > currently misused only in ccdconfig, cdcontrol, chio, ftp, ipfw, ldconfig, > nextboot and w. Lite2 programs usually use a fixed name. You should use the functions in if you want the program name emitted along with a custom message. > Bruce -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[