Added --version-full which prints version and commit ID.
This commit is contained in:
@ -44,6 +44,7 @@ Switch|Long Option|Description
|
|||||||
`-s [yes no]`|`--syslog=[yes no]`|log messages to syslog (default:yes)
|
`-s [yes no]`|`--syslog=[yes no]`|log messages to syslog (default:yes)
|
||||||
`-S [yes no]`|`--maxscalelog=[yes no]`|log messages to MaxScale log (default: yes)
|
`-S [yes no]`|`--maxscalelog=[yes no]`|log messages to MaxScale log (default: yes)
|
||||||
`-v`|`--version`|print version info and exit
|
`-v`|`--version`|print version info and exit
|
||||||
|
`-V`|`--version-full`|print version info and the commit ID the binary was built from
|
||||||
`-?`|`--help`|show this help
|
`-?`|`--help`|show this help
|
||||||
|
|
||||||
<a name="stopping"></a>
|
<a name="stopping"></a>
|
||||||
|
@ -56,6 +56,9 @@ Log messages to MaxScale's own log files.
|
|||||||
.BR "-v, --version"
|
.BR "-v, --version"
|
||||||
Print version information and exit.
|
Print version information and exit.
|
||||||
.TP
|
.TP
|
||||||
|
.BR "-V, --version-full"
|
||||||
|
Print full version information including the Git commit the binary was built from and exit.
|
||||||
|
.TP
|
||||||
.BR "-?, --help"
|
.BR "-?, --help"
|
||||||
Show the help information for MaxScale and exit.
|
Show the help information for MaxScale and exit.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user