openziti / ziti-tunnel-sdk-c

Apache License 2.0
43 stars 17 forks source link

unrecognized option --authcode #488

Closed qrkourier closed 1 year ago

qrkourier commented 2 years ago

Advertised long form --authcode is unrecognized, but the short form -c works.

❯ /opt/openziti/bin/ziti-edge-tunnel remove_mfa --identity /opt/openziti/etc/identities/fgalaxy-laptop.json --authcode 041595
remove_mfa: unrecognized option '--authcode'
Unknown option '?'

❯ /opt/openziti/bin/ziti-edge-tunnel remove_mfa --help
ziti-edge-tunnel remove_mfa: Removes MFA registration from the controller
usage: ziti-edge-tunnel remove_mfa [-i <identity>] [-c <code>]

        -i|--identity   identity info for removing mfa
        -c|--authcode   auth code to verify mfa login
szymonnogiec commented 1 year ago

Hey, I've fixed that in the PR: https://github.com/openziti/ziti-tunnel-sdk-c/pull/546