s3:mount.cifs: make "mount.cifs -V" print the version, not usage.
commitd41131948346619be98514331d7059d9bffecac5
authorMichael Adam <obnox@samba.org>
Thu, 8 Oct 2009 14:44:48 +0000 (8 10:44 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 9 Oct 2009 06:27:20 +0000 (9 08:27 +0200)
tree7f4f87240c8c38b9fc61bcc428e414914288240c
parent2cda51b4e6fba53c04f87e4c2dd99a952a63d812
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).
source/client/mount.cifs.c