aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/freerdp2-auth-check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freerdp2-auth-check.c b/src/freerdp2-auth-check.c
index 219f434..542504f 100644
--- a/src/freerdp2-auth-check.c
+++ b/src/freerdp2-auth-check.c
@@ -51,9 +51,9 @@ int
main (int argc, char * argv[])
{
char password[512];
- if (argc != 5) {
+ if (argc != 4) {
printf("Not enough params\n\n");
- printf("Usage: freerdp-auth-check <host>[:<port>] <user> <domain> <password>\n\n");
+ printf("Usage: echo <passwd> | freerdp2-auth-check <host>[:<port>] <user> <domain>\n\n");
return -1;
}