r22071: Make the error message for incorrect use of '-c' show the parameter as used.
commit721375e14cfcef88061c9e4d4a1f3ca2f33fa9aa
authorAndrew Bartlett <abartlet@samba.org>
Wed, 4 Apr 2007 06:03:54 +0000 (4 06:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:09 +0000 (10 12:19 -0500)
tree1b83555ac1ebf8ee70fec68fa01fd50cbbd4598e
parentc1cb6d059b2a8539bc8a05ea4467d136bbb2ff38
r22071: Make the error message for incorrect use of '-c' show the parameter as used.

This means that smbpasswd -c user (which in htpasswd creates a new file)
and smbpasswd -c /not/my/smb.conf should give errors an admin will
think to chase down.

Andrew Bartlett
source/utils/smbpasswd.c