summaryrefslogtreecommitdiffstats
path: root/source/python/examples/spoolss/changeid.py
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-10 06:41:27 +0000
committerTim Potter <tpot@samba.org>2002-09-10 06:41:27 +0000
commit3e19e3afdb6fd1f63dee9ca52a5d33090670832e (patch)
treefaccf43f30bb922524a4c6191e882458c6ad6459 /source/python/examples/spoolss/changeid.py
parentb5227f0a645fdf2358fcb880f22e4662efdfe8e3 (diff)
downloadsamba-3e19e3afdb6fd1f63dee9ca52a5d33090670832e.tar.gz
samba-3e19e3afdb6fd1f63dee9ca52a5d33090670832e.tar.xz
samba-3e19e3afdb6fd1f63dee9ca52a5d33090670832e.zip
Updated examples for new top level module layout.
Fixed some bugs also.
Diffstat (limited to 'source/python/examples/spoolss/changeid.py')
-rwxr-xr-xsource/python/examples/spoolss/changeid.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/python/examples/spoolss/changeid.py b/source/python/examples/spoolss/changeid.py
index b2345094edc..85fe0efe8a4 100755
--- a/source/python/examples/spoolss/changeid.py
+++ b/source/python/examples/spoolss/changeid.py
@@ -2,8 +2,13 @@
#
# Display the changeid for a list of printers given on the command line
#
+# Sample usage:
+#
+# changeid.py '\\win2kdc1\magpie'
+#
-import sys, spoolss
+import sys
+from samba import spoolss
if len(sys.argv) == 1:
print "Usage: changeid.py <printername>"