aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 13:03:11 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 13:03:11 +0200
commit480b123353e623eb4bfabd530ca71745a73d341b (patch)
tree9cfa147877afc4db301cafdea6cd01f23f5e74b1
parentd62df5422e04e6dd15a5715a7b2e5ed73d26e980 (diff)
downloadlibpam-freerdp2-480b123353e623eb4bfabd530ca71745a73d341b.tar.gz
libpam-freerdp2-480b123353e623eb4bfabd530ca71745a73d341b.tar.bz2
libpam-freerdp2-480b123353e623eb4bfabd530ca71745a73d341b.zip
src/freerdp-auth-check.c: Add a little usage print out on faulty cmdline usage.
-rw-r--r--src/freerdp-auth-check.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/freerdp-auth-check.c b/src/freerdp-auth-check.c
index 698c098..ba62880 100644
--- a/src/freerdp-auth-check.c
+++ b/src/freerdp-auth-check.c
@@ -52,7 +52,8 @@ main (int argc, char * argv[])
{
char password[512];
if (argc != 4) {
- printf("Not enough params");
+ printf("Not enough params\n\n");
+ printf("Usage: freerdp-auth-check <host>[:<port>] <user> <domain> <password>\n\n");
return -1;
}