Skip to content

--help prints typedb_console_bin even though the command is (probably) just typedb #304

@alexjpwalker

Description

@alexjpwalker

Description

--help prints typedb_console_bin even though the command is (probably) just typedb

Environment

  1. TypeDB distribution: CE
  2. TypeDB version: 3.4.4
  3. Environment: Windows/Mac
  4. Console version: 3.4.4
  5. Other details:

Reproducible Steps

  1. Set up

Install Console

  1. Execute

Run typedb console --help

  1. Unexpected result
PS C:\Users\too_e> typedb console --help
Usage: typedb_console_bin [OPTIONS] --address <host:port> --username <username>

Options:
      --command <command>             Executes all console commands in the order specified, then exits. Exits early on
                                      any error
      --script <path to script file>  Executes all console commands directly from the script(s) in the order of each
                                      specified script. Exits if any script errors at any point. Files must follow the
                                      convention of terminating queries with an empty newline. File path can be absolute
                                      or relative to the current directory
      --address <host:port>           TypeDB address to connect to. If using TLS encryption, this must start with
                                      "https://"
      --username <username>           Username for authentication
      --password <password>           Password for authentication. Will be requested safely by default
      --tls-disabled                  Connect to TypeDB with TLS encryption. Disable with caution. On all production
                                      systems it should be enabled, otherwise username/password will be sent in
                                      plaintext over the network
      --tls-root-ca <path>            Path to the TLS encryption root CA file
      --diagnostics-disable           Disable error reporting. Error reporting helps TypeDB improve by reporting errors
                                      and crashes to the development team
      --version                       Print the Console binary version
  -h, --help                          Print help

(On Windows, says typedb_console_bin.exe, should be typedb.)

Expected result

Should say

Usage: typedb [OPTIONS] --address <host:port> --username <username>

Additional information

Relevant logs from TypeDB or Console:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions