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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Jun 2023 02:45:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272260

--- Comment #1 from Kyle Evans <kevans@freebsd.org> ---
> bectl: No match.

That message is going to be coming from your shell somewhere, not bectl.

```
root@aarch64-dev:/usr/src/sbin/bectl# bectl -?
zsh: no matches found: -?
root@aarch64-dev:/usr/src/sbin/bectl# bectl -\?
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}]
beName
        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
```

I don't know if I really agree with supporting -? as a synonym for -h, but
that's the way it's been since I imported it and I don't see any reason to
remove it.

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