Skip to content

GT-101 Add pass-through options usage hint #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

nikita-vanyasin
Copy link
Contributor

Closes #222

@nikita-vanyasin
Copy link
Contributor Author

nikita-vanyasin commented Jul 17, 2022

Example output (will be printed it if --help or unsupported argument was provided):

Passing through other database options:
      --args.agents.<xxx>=<value>              Passed through to all agent instances as --<xxx>=<value>
      --args.all.<xxx>=<value>                 Passed through to all server instances as --<xxx>=<value>
      --args.coordinators.<xxx>=<value>        Passed through to all coordinator instances as --<xxx>=<value>
      --args.dbservers.<xxx>=<value>           Passed through to all dbserver instances as --<xxx>=<value>
      --args.sync.<xxx>=<value>                Passed through to all sync instances as --<xxx>=<value>
      --args.syncmasters.<xxx>=<value>         Passed through to all sync master instances as --<xxx>=<value>
      --args.syncworkers.<xxx>=<value>         Passed through to all sync master instances as --<xxx>=<value>
      --envs.agents.<xxx>=<value>              Env passed to all agent instances as <xxx>=<value>
      --envs.all.<xxx>=<value>                 Env passed to all server instances as <xxx>=<value>
      --envs.coordinators.<xxx>=<value>        Env passed to all coordinator instances as <xxx>=<value>
      --envs.dbservers.<xxx>=<value>           Env passed to all dbserver instances as <xxx>=<value>
      --envs.sync.<xxx>=<value>                Env passed to all sync instances as <xxx>=<value>
      --envs.syncmasters.<xxx>=<value>         Env passed to all sync master instances as <xxx>=<value>
      --envs.syncworkers.<xxx>=<value>         Env passed to all sync master instances as <xxx>=<value>

Copy link
Contributor

@informalict informalict left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nikita-vanyasin nikita-vanyasin force-pushed the feature/add-passhtrough-usage-hint branch from 4be8969 to 927ce26 Compare July 19, 2022 13:05
Copy link
Contributor

@informalict informalict left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@informalict informalict merged commit 192e4f3 into master Jul 20, 2022
@informalict informalict deleted the feature/add-passhtrough-usage-hint branch July 20, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ouptut hint to arangod options if options don't match
2 participants