svn commit: r240698 - head/cddl/contrib/opensolaris/cmd/zfs

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 21 05:30:24 UTC 2012


On Thu, Sep 20, 2012 at 11:38:43PM +0200, Baptiste Daroussin wrote:
> On Thu, Sep 20, 2012 at 11:17:01PM +0200, Pawel Jakub Dawidek wrote:
> > On Wed, Sep 19, 2012 at 04:28:38PM +0000, Baptiste Daroussin wrote:
> > > Author: bapt
> > > Date: Wed Sep 19 16:28:38 2012
> > > New Revision: 240698
> > > URL: http://svn.freebsd.org/changeset/base/240698
> > > 
> > > Log:
> > >   Update usage to show the possiblity to use jail name
> > >   
> > >   Reported by:	bdrewery
> > >   MFC after:	1 month
> > > 
> > > Modified:
> > >   head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
> > > 
> > > Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
> > > ==============================================================================
> > > --- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Wed Sep 19 16:21:23 2012	(r240697)
> > > +++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Wed Sep 19 16:28:38 2012	(r240698)
> > > @@ -240,9 +240,9 @@ get_usage(zfs_help_t idx)
> > >  		return (gettext("\tupgrade [-v]\n"
> > >  		    "\tupgrade [-r] [-V version] <-a | filesystem ...>\n"));
> > >  	case HELP_JAIL:
> > > -		return (gettext("\tjail <jailid> <filesystem>\n"));
> > > +		return (gettext("\tjail <jailid|jailname> <filesystem>\n"));
> > 
> > Please keep the style consistent. As you can see two lines above there
> > are spaces around |.
> > 
> 
> Sure but both syntax are present in the usage: <filesystem|volume|snapshot> in
> fact the only one with space around | is the line above you are showing, all the
> rest of the usage is without space, That is why I did it without spaces.
> 
> If you tell me it is better with spaces, I'll add space.

It is probably better to leave it as-is then, I only looked at the diff
context. Sorry for the noise.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120921/e719ec7d/attachment.pgp


More information about the svn-src-all mailing list