The branch stable/12 has been updated by jamie:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6186592c106be2425dc4959c19c358c8ab86a307

commit 6186592c106be2425dc4959c19c358c8ab86a307
Author:     Jamie Gritton <ja...@freebsd.org>
AuthorDate: 2021-04-04 17:49:38 +0000
Commit:     Jamie Gritton <ja...@freebsd.org>
CommitDate: 2021-04-09 03:24:13 +0000

    MFC jail: fix jail(8) synposis and usage message to match reality.
    
    Reported by:    yuri
    PR:             254741
    
    (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 3ac4f988a325..0b96f4d4adcc 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 14, 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);
 }
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to