git: 73b04801b316 - stable/11 - MFC jail: fix jail(8) synposis and usage message to match reality.
Jamie Gritton
jamie at FreeBSD.org
Fri Apr 9 03:27:13 UTC 2021
The branch stable/11 has been updated by jamie:
URL: https://cgit.FreeBSD.org/src/commit/?id=73b04801b3163417cff33b279f1bc42451f20009
commit 73b04801b3163417cff33b279f1bc42451f20009
Author: Jamie Gritton <jamie at FreeBSD.org>
AuthorDate: 2021-04-04 17:49:38 +0000
Commit: Jamie Gritton <jamie at FreeBSD.org>
CommitDate: 2021-04-09 03:26:58 +0000
MFC jail: fix jail(8) synposis and usage message to match reality.
Reported by: yuri
PR: 254741
MFC after: 5 days
(cherry picked from commit 8c1d956ffa0355ece3b63ea8587938176f87f072)
---
usr.sbin/jail/jail.8 | 4 ++--
usr.sbin/jail/jail.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index d5babaadf950..e8de0d765e2d 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 17, 2020
+.Dd April 4, 2021
.Dt JAIL 8
.Os
.Sh NAME
@@ -58,7 +58,7 @@
.Op Fl U Ar username
.Op Fl n Ar jailname
.Op Fl s Ar securelevel
-.Op Ar path hostname [ Ar ip Ns [ Ns Ar ,... Ns ]] Ar command ...
+.Ar path hostname ip Ns [ Ns Ar ,... Ns ] Ar command ...
.Nm
.Op Fl f Ar conf_file
.Fl e
diff --git a/usr.sbin/jail/jail.c b/usr.sbin/jail/jail.c
index 1bf7fad2b2a5..d523a0b63e27 100644
--- a/usr.sbin/jail/jail.c
+++ b/usr.sbin/jail/jail.c
@@ -1052,7 +1052,7 @@ usage(void)
" 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 dev-commits-src-branches
mailing list