]> git.proxmox.com Git - pve-zsync.git/commit
usage: describe flag parameters correctly
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 4 May 2021 08:09:57 +0000 (10:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 May 2021 10:12:51 +0000 (12:12 +0200)
commit53e7ea54e04a4596ce6373b962da565a2682015a
tree9d63551ba6529e01515faf6df5bd617ccfe1946f
parent5f1187c6c068f3b68cce10e4f09bd5c2147fe016
usage: describe flag parameters correctly

It's not possible to provide a false value. From the documentation for
GetOptionsFromArray:
    The argument specification is optional. If omitted, the option is considered
    boolean, a value of 1 will be assigned when the option is used on the
    command line.

Make it clear that specifying the flag alone already enables it.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
pve-zsync