samba-tool: stick to the point with --version
commitfe91e643cb5215efa7269edeb91d2f9577c33258
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 1 Jun 2021 00:48:24 +0000 (1 00:48 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 10 Jun 2021 00:29:32 +0000 (10 00:29 +0000)
tree8405c6324c1d83f48910ec7f8b21a7436af7a014
parent8515973dd875cecaa4cbdfc0aca52c6dc4e1d622
samba-tool: stick to the point with --version

We were doing this:

    $ bin/samba-tool --version
    samba-tool: no such subcommand: --version

    4.15.0pre1-DEVELOPERBUILD
    $

which is silly. Now we'll just see the version.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/netcmd/__init__.py