svn commit: samba-docs r325 - in trunk/manpages: .

jelmer at samba.org jelmer at samba.org
Mon Jan 17 15:04:38 GMT 2005


Author: jelmer
Date: 2005-01-17 15:04:38 +0000 (Mon, 17 Jan 2005)
New Revision: 325

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=325

Log:
Fix description of when DEVICE_URI and when argv[0] is used. Thanks to 
Jay Fenlason for reporting this.

Modified:
   trunk/manpages/smbspool.8.xml


Changeset:
Modified: trunk/manpages/smbspool.8.xml
===================================================================
--- trunk/manpages/smbspool.8.xml	2005-01-17 14:56:59 UTC (rev 324)
+++ trunk/manpages/smbspool.8.xml	2005-01-17 15:04:38 UTC (rev 325)
@@ -53,9 +53,10 @@
 		<listitem><para>smb://username:password@workgroup/server[:port]/printer</para></listitem>
 	</itemizedlist>
 
-	<para>smbspool tries to get the URI from argv[0]. If argv[0] 
-	contains the name of the program then it looks in the <envar>
-	DEVICE_URI</envar> environment variable.</para>
+	<para>smbspool tries to get the URI from the environment variable
+	<envar>DEVICE_URI</envar>. If <envar>DEVICE_URI</envar> is not present, 
+	smbspool will use argv[0] if that starts with <quote>smb://</quote> 
+	or argv[1] if that is not the case.</para>
 
 	<para>Programs using the <command>exec(2)</command> functions can 
 	pass the URI in argv[0], while shell scripts must set the 



More information about the samba-cvs mailing list