aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2021-04-04 17:49:38 +0000
committerJamie Gritton <jamie@FreeBSD.org>2021-04-04 17:49:38 +0000
commit8c1d956ffa0355ece3b63ea8587938176f87f072 (patch)
tree0b5289b3634f4f634a57bdf615a0307a5b609e69 /usr.sbin/jail
parent89619b747bcff379dca98e975a98865a45366417 (diff)
downloadsrc-8c1d956ffa0355ece3b63ea8587938176f87f072.tar.gz
src-8c1d956ffa0355ece3b63ea8587938176f87f072.zip
jail: fix jail(8) synposis and usage message to match reality.
Reported by: yuri PR: 254741 MFC after: 5 days
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/jail.84
-rw-r--r--usr.sbin/jail/jail.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index cc3561f03f6a..61fe91cf973e 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 18, 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 920e573b9149..eb3b19f2cb82 100644
--- a/usr.sbin/jail/jail.c
+++ b/usr.sbin/jail/jail.c
@@ -1046,7 +1046,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);
}