Date: Mon, 14 Mar 2005 14:24:46 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/geom/core geom.c geom.h Message-ID: <200503141424.j2EEOkA9062859@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-03-14 14:24:46 UTC
FreeBSD src repository
Modified files:
sbin/geom/core geom.c geom.h
Log:
- Add gc_usage field to g_command structure. This will allow to define
usage for a subcommand, so no 'usage' function has to be implemented
in class library.
- Bump version number as it breaks ABI, but don't provide backward
compatibility, because there are probably no external consumers of this
geom(8).
This allows to print more precise usage for standard commands and simplify
class libraries a bit.
MFC after: 1 week
Revision Changes Path
1.18 +49 -54 src/sbin/geom/core/geom.c
1.2 +3 -2 src/sbin/geom/core/geom.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503141424.j2EEOkA9062859>
