Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22982

Client --help options break when configuration files contain unknown options

    XMLWordPrintable

    Details

      Description

      If a configuration file contains unknown options, and if you run a client with the --help option, then it will fail. For example:

      $ sudo tee /etc/mysql/mariadb.conf.d/bad_option.cnf <<EOF
      [mysql]
      bad_option=1
      EOF
      $ mysql --help
      mysql: unknown variable 'bad_option=1'
      

      It seems like overkill to make --help fail in this scenario. I think --help should always succeed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: