https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254741

            Bug ID: 254741
           Summary: jail(8) fails with "Usage" message when invocation is
                    like it suggests
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

This command:
> # jail /disk/jail testjail /etc/rc
> usage: jail [-dhilqv] [-J jid_file] [-u username] [-U username]
>             -[cmr] param=value ... [command=command ...]
>        jail [-dqv] [-f file] -[cmr] [jail]
>        jail [-qv] [-f file] -[rR] ['*' | jail ...]
>        jail [-dhilqv] [-J jid_file] [-u username] [-U username]
>             [-n jailname] [-s securelevel]
>             path hostname [ip[,...]] command ...
>        jail [-f file] -e separator

fails with "Usage", but the invocation satisfies the 4th usage suggestion from
the message:
>        jail [-dhilqv] [-J jid_file] [-u username] [-U username]
>             [-n jailname] [-s securelevel]
>             path hostname [ip[,...]] command ...
It is the same after removing optional elements.

So either the "Usage" message is wrong, or the problem is not in invocation but
in something else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to