summaryrefslogtreecommitdiff
path: root/docs/manpages
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-01-17 15:04:38 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:11 -0500
commit67a599d1e8a4d1f48f8accab1de8b9d102928b7b (patch)
tree410c5bbb88d6fc9378c788e4964a6224b849733c /docs/manpages
parent580e77c8dfd2e337be9631b65cc62fedffe1279a (diff)
downloadsamba-67a599d1e8a4d1f48f8accab1de8b9d102928b7b.tar.gz
samba-67a599d1e8a4d1f48f8accab1de8b9d102928b7b.tar.bz2
samba-67a599d1e8a4d1f48f8accab1de8b9d102928b7b.zip
Fix description of when DEVICE_URI and when argv[0] is used. Thanks to
Jay Fenlason for reporting this. (This used to be commit 94a74c1c51dff2114cc64f9869f165ab2ff43429)
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/smbspool.8.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/manpages/smbspool.8.xml b/docs/manpages/smbspool.8.xml
index 5028bbc419..5f2cb33cdb 100644
--- a/docs/manpages/smbspool.8.xml
+++ b/docs/manpages/smbspool.8.xml
@@ -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