s3:mount.cifs: make "mount.cifs -V" print the version, not usage.
commit89cc728e44b0cec6fe122b7e650f22447d251b7a
authorMichael Adam <obnox@samba.org>
Thu, 8 Oct 2009 14:44:48 +0000 (8 10:44 -0400)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Oct 2009 09:47:26 +0000 (12 11:47 +0200)
treedbd0d445db12af035c8e99f0ab2bb2e7b6ccd180
parentd7607eb74658cae4856bb287242bc6f5fb27438b
s3:mount.cifs: make "mount.cifs -V" print the version, not usage.

(cherry-picked from d7ca4997017e86b6f23ced64f1f1672bfb15716b)

Also make "mount.cifs -h" not exit with error exit code but with return code 0.

Michael

Part 2/2 of a fix for bug #6692 (mount.cifs segfault).
(cherry picked from commit d41131948346619be98514331d7059d9bffecac5)
source/client/mount.cifs.c