[Bug 272260] bectl(8) usage: -?

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Jun 2023 02:37:09 UTC

            Bug ID: 272260
           Summary: bectl(8) usage: -?
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: grahamperrin@freebsd.org

From printed usage information, added at

> Usage:  bectl {-h | -? | subcommand [args...]}

From an earlier edition of the manual page: 

>      bectl [-h?]

Originally, was what's below the intention? 

    -? to be synonymous with (an alternative to) -h

Actual results: 

% bectl -?
bectl: No match.
% bectl ?
Unknown command: R
Usage:  bectl {-h | -? | subcommand [args...]}
        bectl [-r beroot] activate [-t] beName
        bectl [-r beroot] activate [-T]
        bectl [-r beroot] check
        bectl [-r beroot] create [-r] [-e {nonActiveBe | beName@snapshot}]
        bectl [-r beroot] create [-r] beName@snapshot
        bectl [-r beroot] destroy [-Fo] {beName | beName@snapshot}
        bectl [-r beroot] export sourceBe
        bectl [-r beroot] import targetBe
        bectl [-r beroot] jail [-bU] [{-o key=value | -u key}]... beName
              [utility [argument ...]]
        bectl [-r beroot] list [-aDHs] [{-c property | -C property}]
        bectl [-r beroot] mount beName [mountpoint]
        bectl [-r beroot] rename origBeName newBeName
        bectl [-r beroot] {ujail | unjail} {jailID | jailName | beName}
        bectl [-r beroot] {umount | unmount} [-f] beName
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0
main-n263799-f81be7a8318b-dirty: Mon Jun 26 22:09:58 BST 2023    
amd64 1400092 1400090

You are receiving this mail because:
You are the assignee for the bug.