svn commit: r360112 - stable/11/usr.sbin/jail
Eugene Grosbein
eugen at FreeBSD.org
Mon Apr 20 08:15:37 UTC 2020
Author: eugen
Date: Mon Apr 20 08:15:36 2020
New Revision: 360112
URL: https://svnweb.freebsd.org/changeset/base/360112
Log:
MFC r360040: jail(8): improve manual and usage information
with more clear description for "jail -e" mode
to show that it does not take additional jail name argument.
Reported by: David Marec <david.marec at davenulle.org>
Modified:
stable/11/usr.sbin/jail/jail.8
stable/11/usr.sbin/jail/jail.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/jail/jail.8
==============================================================================
--- stable/11/usr.sbin/jail/jail.8 Mon Apr 20 08:12:40 2020 (r360111)
+++ stable/11/usr.sbin/jail/jail.8 Mon Apr 20 08:15:36 2020 (r360112)
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 10, 2018
+.Dd April 17, 2020
.Dt JAIL 8
.Os
.Sh NAME
@@ -49,7 +49,6 @@
.Nm
.Op Fl qv
.Op Fl f Ar conf_file
-.Op Fl e Ar separator
.Op Fl rR
.Op Cm * | Ar jail ...
.Nm
@@ -60,6 +59,10 @@
.Op Fl n Ar jailname
.Op Fl s Ar securelevel
.Op Ar path hostname [ Ar ip Ns [ Ns Ar ,... Ns ]] Ar command ...
+.Nm
+.Op Fl f Ar conf_file
+.Fl e
+.Ar separator
.Sh DESCRIPTION
The
.Nm
Modified: stable/11/usr.sbin/jail/jail.c
==============================================================================
--- stable/11/usr.sbin/jail/jail.c Mon Apr 20 08:12:40 2020 (r360111)
+++ stable/11/usr.sbin/jail/jail.c Mon Apr 20 08:15:36 2020 (r360112)
@@ -1048,10 +1048,11 @@ usage(void)
(void)fprintf(stderr,
"usage: jail [-dhilqv] [-J jid_file] [-u username] [-U username]\n"
" -[cmr] param=value ... [command=command ...]\n"
- " jail [-dqv] [-f file] [-e separator] -[cmr] [jail]\n"
+ " jail [-dqv] [-f file] -[cmr] [jail]\n"
" jail [-qv] [-f file] -[rR] ['*' | jail ...]\n"
" jail [-dhilqv] [-J jid_file] [-u username] [-U username]\n"
" [-n jailname] [-s securelevel]\n"
- " path hostname [ip[,...]] command ...\n");
+ " path hostname [ip[,...]] command ...\n"
+ " jail [-f file] -e separator\n");
exit(1);
}
More information about the svn-src-stable-11
mailing list