From owner-cvs-all@FreeBSD.ORG Fri Apr 21 20:33:17 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 126C816A400; Fri, 21 Apr 2006 20:33:17 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B8C43D49; Fri, 21 Apr 2006 20:33:16 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3LKXGaO063767; Fri, 21 Apr 2006 20:33:16 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3LKXGa7063766; Fri, 21 Apr 2006 20:33:16 GMT (envelope-from maxim) Message-Id: <200604212033.k3LKXGa7063766@repoman.freebsd.org> From: Maxim Konovalov Date: Fri, 21 Apr 2006 20:33:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/fsdb fsdb.c fsdb.h fsdbutil.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 20:33:17 -0000 maxim 2006-04-21 20:33:16 UTC FreeBSD src repository Modified files: sbin/fsdb fsdb.c fsdb.h fsdbutil.c Log: o Do recrack(arguments) for commands which actually take NAME as arguments so we do not coredump at "help foo", "back bar" and such. o Be consistent and print argc - 1 as a command arguments number in all cases. PR: bin/37096 Submitted by: Joshua Goodall MFC after: 1 month Revision Changes Path 1.32 +10 -9 src/sbin/fsdb/fsdb.c 1.11 +1 -0 src/sbin/fsdb/fsdb.h 1.19 +1 -1 src/sbin/fsdb/fsdbutil.c