Skip to content

Review command arguments, cleanup, remove unused options, rename badly named options. #1461

@daleglass

Description

@daleglass

There's a bunch of options to interface that are confusing, probably unused for our purposes, and badly named. We should do a review after PR #1428.

Here's an approximate list of the issues:

  • Some options are in camelCase, like --allowMultipleInstances. Some are hypenated, like --fast-heartbeat.
  • Some options related to the same thing are confusingly named. Eg, --scripts, --overrideScriptsPath and --defaultScriptOverride.
  • Some options use confusingly named variables for their implementation in the code. The --scripts option internally uses the variable _overrideDefaultScriptsLocation, which may look like it's related to --overrideScriptsPath or --defaultScriptOverride.
  • Many are under-documented. --cache is "Set test cache".
  • In some cases it's not clear whether the argument is a file or a directory, and how the path will be evaluated. Eg, --traceFile takes a filename, and places it in the documents directory.
  • --avatarURL and --replace-avatar-url appear to be duplicated with a priority system. This might have fulfilled some purpose for HiFi.
  • Some have undocumented units, eg --clockSkew.
  • In some cases, interface exits without any visible output. Eg, starting a second instance by default simply exits silently. It should probably at least write something to the log.

This doesn't need to be all fixed in one go, it probably makes sense to split it into multiple PRs and handle it over time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Severity: LowNo important functionality is affectedenhancementNew feature or requeststaleIssue / PR has not had activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions