diff options
author | Tim Potter <tpot@samba.org> | 2002-09-10 06:41:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-10 06:41:27 +0000 |
commit | d4b6d5db9145ae62c99e2432cf524f83fdc72277 (patch) | |
tree | 980bd903a0c2618587817d249cc3f72af1b29240 /source3/python/examples/spoolss/changeid.py | |
parent | 5793e15a27bf9f3bd00120ab0ff000b3935b19bf (diff) | |
download | samba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.tar.gz samba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.tar.bz2 samba-d4b6d5db9145ae62c99e2432cf524f83fdc72277.zip |
Updated examples for new top level module layout.
Fixed some bugs also.
(This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
Diffstat (limited to 'source3/python/examples/spoolss/changeid.py')
-rwxr-xr-x | source3/python/examples/spoolss/changeid.py | 7 |
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>" |