samba --version (return code: 0)
Version 4.3.11-Ubuntu
samba --help (return code: 0)
Usage: samba [OPTION...]
-D, --daemon Become a daemon (default)
-i, --interactive Run interactive (not a daemon)
-M, --model=MODEL Select process model
--maximum-runtime=seconds set maximum runtime of the server
process, till autotermination
-b, --show-build show build info
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common Samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
--debug-stderr Send debug output to STDERR
-s, --configfile=CONFIGFILE Use alternative configuration file
--option=name=value Set smb.conf option from command line
-l, --log-basename=LOGFILEBASE Basename for log/debug files
--leak-report enable talloc leak reporting on exit
--leak-report-full enable full talloc leak reporting on exit
Version options:
-V, --version Print version