mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r19463: Make it clear what argument is incorrect
Andrew Bartlett
(This used to be commit a28a17c508
)
This commit is contained in:
parent
614e52764e
commit
5bfc0d6317
@ -47,7 +47,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv)
|
||||
} else if (strcasecmp(argv[1], "MEMBER") == 0) {
|
||||
secure_channel_type = SEC_CHAN_WKSTA;
|
||||
} else {
|
||||
d_fprintf(stderr, "net_join: 2nd argument must be MEMBER or BDC\n");
|
||||
d_fprintf(stderr, "net_join: Invalid 2nd argument (%s) must be MEMBER or BDC\n", argv[1]);
|
||||
return net_join_usage(ctx, argc, argv);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user