From owner-freebsd-bugs Sun May 26 23:23:40 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 64BBE37B400; Sun, 26 May 2002 23:23:38 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4R6Nc034004; Sun, 26 May 2002 23:23:38 -0700 (PDT) (envelope-from jmallett) Date: Sun, 26 May 2002 23:23:38 -0700 (PDT) From: Message-Id: <200205270623.g4R6Nc034004@freefall.freebsd.org> To: schweikh@schweikhardt.net, jmallett@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/38308: su(1) prints bogus help message; inconsistent man page Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: su(1) prints bogus help message; inconsistent man page State-Changed-From-To: open->closed State-Changed-By: jmallett State-Changed-When: Sun May 26 23:18:17 PDT 2002 State-Changed-Why: If -c is specified after the login, it is passed to the shell, just like every thing that occurs after the login, which is logically the first argument when getopt(3) completes. If it is before, it specifies the login class. As for the --help error, I can't for the life of me find where su(1) has EVER printed that usage message. It seems to always have printed a traditional BSD usage message. http://www.freebsd.org/cgi/query-pr.cgi?pr=38308 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message