summaryrefslogtreecommitdiff
path: root/source3/python/examples/spoolss/changeid.py
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/examples/spoolss/changeid.py')
-rwxr-xr-xsource3/python/examples/spoolss/changeid.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/python/examples/spoolss/changeid.py b/source3/python/examples/spoolss/changeid.py
index b2345094ed..85fe0efe8a 100755
--- a/source3/python/examples/spoolss/changeid.py
+++ b/source3/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>"