Skip to content
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

Server help option #4233

Merged
merged 5 commits into from
Feb 2, 2019
Merged

Conversation

yurriy
Copy link
Contributor

@yurriy yurriy commented Feb 2, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category:

  • New Feature

Short description:
Added --help/-h option to server
Output:

~/ClickHouse/build$ ./dbms/programs/clickhouse-server -h
usage:
clickhouse-server [OPTION] [-- [ARG]...]
positional arguments can be used to rewrite config.xml properties, for
example, --http_port=8010

-h, --help                        show help and exit
--daemon                          Run application as a daemon.
--umask=mask                      Set the daemon's umask (octal, e.g. 027).
--pidfile=path                    Write the process ID of the application to
                                  given file.
-C<file>, --config-file=<file>    load configuration from a given file
-L<file>, --log-file=<file>       use given log file
-E<file>, --errorlog-file=<file>  use given log file for errors only
-P<file>, --pid-file=<file>       use given pidfile

@yurriy yurriy closed this Feb 2, 2019
@yurriy yurriy force-pushed the server-help-option branch from 1d4eae7 to fdfb603 Compare February 2, 2019 13:27
@yurriy yurriy reopened this Feb 2, 2019
@alexey-milovidov
Copy link
Member

alexey-milovidov commented Feb 2, 2019

(obsolete)

Let's write .sh test. See /dbms/tests/queries/*.sh
At least check that the help exists.--

@alexey-milovidov alexey-milovidov merged commit 2e082d9 into ClickHouse:master Feb 2, 2019
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.

2 participants