summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-01 21:12:49 +0100
committerGünther Deschner <gd@samba.org>2010-03-01 21:15:34 +0100
commitcf12d4556a12edb032eaef51a60bfc815f38be61 (patch)
tree496294a82184f0a4165fa00004f49aedb6d93b2c
parent36d3aa69f1a090ac4054f06883a2fae85070f202 (diff)
downloadsamba-cf12d4556a12edb032eaef51a60bfc815f38be61.tar.gz
samba-cf12d4556a12edb032eaef51a60bfc815f38be61.tar.bz2
samba-cf12d4556a12edb032eaef51a60bfc815f38be61.zip
testprogs: better usage text.
Guenther
-rw-r--r--testprogs/win32/spoolss/spoolss.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/testprogs/win32/spoolss/spoolss.c b/testprogs/win32/spoolss/spoolss.c
index 13febfdf2a..acdbb13f47 100644
--- a/testprogs/win32/spoolss/spoolss.c
+++ b/testprogs/win32/spoolss/spoolss.c
@@ -1416,7 +1416,15 @@ int main(int argc, char *argv[])
int i;
if (argc < 2) {
- fprintf(stderr, "usage: %s <servername> [print] [samba3] [architecture=ARCHITECTURE]\n", argv[0]);
+ fprintf(stderr, "usage: %s <name> [print] [samba3] [architecture=ARCHITECTURE]\n\n", argv[0]);
+ fprintf(stderr, "\t<name> can be a server or printer name URI\n");
+ fprintf(stderr, "\t[print] will print all data that has been retrieved\n");
+ fprintf(stderr, "\t from the printserver\n");
+ fprintf(stderr, "\t[samba3] will skip some tests samba servers are known\n");
+ fprintf(stderr, "\t not to have implemented\n");
+ fprintf(stderr, "\t[architecture=X] allows to define a specific\n");
+ fprintf(stderr, "\t architecture to test with. choose between:\n");
+ fprintf(stderr, "\t \"Windows NT x86\" or \"Windows x64\"\n");
exit(-1);
}