svn commit: samba r8589 - in
branches/SAMBA_4_0/source/scripting/bin: .
tridge at samba.org
tridge at samba.org
Tue Jul 19 09:29:31 GMT 2005
Author: tridge
Date: 2005-07-19 09:29:30 +0000 (Tue, 19 Jul 2005)
New Revision: 8589
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8589
Log:
- support --version option to smbstatus
- print samba version at startup
Modified:
branches/SAMBA_4_0/source/scripting/bin/smbstatus
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/bin/smbstatus
===================================================================
--- branches/SAMBA_4_0/source/scripting/bin/smbstatus 2005-07-19 09:28:46 UTC (rev 8588)
+++ branches/SAMBA_4_0/source/scripting/bin/smbstatus 2005-07-19 09:29:30 UTC (rev 8589)
@@ -14,6 +14,7 @@
ok = GetOptions(ARGV, options,
"POPT_AUTOHELP",
"POPT_COMMON_SAMBA",
+ "POPT_COMMON_VERSION",
"nbt");
if (ok == false) {
println("Failed to parse options: " + options.ERROR);
@@ -81,6 +82,7 @@
println("");
}
+printf("%s\n\n", lpGet("server string"));
if (options['nbt'] != undefined) {
show_nbt();
More information about the samba-cvs
mailing list