Commit 1c6a826f authored by Philipp Erhardt's avatar Philipp Erhardt
Browse files

Add 'version' option to doc

parent 2c64c8b6
......@@ -48,6 +48,8 @@ OPTIONS
*--write-default-config* 'FILE'::
Write the built-in default configuration to 'FILE' and exit. Hint: on unix
systems, you can use '--write-defaults /dev/stdout' to print the defaults.
*-v*, *--version* ::
Print version information and exit.
*-h*, *--help* ::
Print help and exit.
......
......@@ -27,7 +27,7 @@ static void print_help(char *name) {
cout << " -q, --quit true|false Quit on initialization failure" << endl;
cout << " -s, --single-instance true|false Whether to have a single instance per file" << endl;
cout << " --write-default-config FILE Write the default configuration to FILE and exit" << endl;
cout << " -v, --version Print version information" << endl;
cout << " -v, --version Print version information and exit" << endl;
cout << " -h, --help Print this help and exit" << endl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment