open-amt-cloud-toolkit/rpc-go

Maintenance commands print usage message twice

Craig-Spencer-12 opened this issue · 0 comments

rpc maintenance synchostname -h

Usage of synchostname:
  -echo-password
        echos AMT Password to the terminal during input
  -f    Force even if device is not registered with a server
  -json
        JSON output
  -l string
        Log level (panic,fatal,error,warn,info,debug,trace) (default "info")
  -lmsaddress string
        LMS address. Can be used to change location of LMS for debugging. (default "localhost")
  -lmsport string
        LMS port (default "16992")
  -n    Skip Websocket server certificate verification
  -p string
        Proxy address and port
  -password string
        AMT password
  -t duration
        AMT timeout - time to wait until AMT is ready (ex. '2m' or '30s') (default 2m0s)
  -tenant string
        TenantID
  -token string
        JWT Token for Authorization
  -u string
        Websocket address of server to activate against
  -uuid string
        override AMT device uuid for use with non-CIRA workflow
  -v    Verbose output
Usage of synchostname:
  -echo-password
        echos AMT Password to the terminal during input
  -f    Force even if device is not registered with a server
  -json
        JSON output
  -l string
        Log level (panic,fatal,error,warn,info,debug,trace) (default "info")
  -lmsaddress string
        LMS address. Can be used to change location of LMS for debugging. (default "localhost")
  -lmsport string
        LMS port (default "16992")
  -n    Skip Websocket server certificate verification
  -p string
        Proxy address and port
  -password string
        AMT password
  -t duration
        AMT timeout - time to wait until AMT is ready (ex. '2m' or '30s') (default 2m0s)
  -tenant string
        TenantID
  -token string
        JWT Token for Authorization
  -u string
        Websocket address of server to activate against
  -uuid string
        override AMT device uuid for use with non-CIRA workflow
  -v    Verbose output
time="2024-04-03T16:01:35-07:00" level=error msg="Error 28: IncorrectCommandLineParameters"