diff options
author | Jeff Layton <jlayton@samba.org> | 2012-10-29 15:45:37 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-10-29 15:45:37 -0400 |
commit | c49a6767051979368eea1087c9724a2c2994bd56 (patch) | |
tree | 5179f2c3a286e85ead500639a283b35fc2d58b32 /cifs.idmap.8.in | |
parent | 0454be8978815b90baae7652b0717d0c0696e295 (diff) | |
download | cifs-utils-c49a6767051979368eea1087c9724a2c2994bd56.tar.gz cifs-utils-c49a6767051979368eea1087c9724a2c2994bd56.tar.bz2 cifs-utils-c49a6767051979368eea1087c9724a2c2994bd56.zip |
cifs.idmap: add a --help option for cifs.idmap
To make it print the usage message and exit.
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'cifs.idmap.8.in')
-rw-r--r-- | cifs.idmap.8.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cifs.idmap.8.in b/cifs.idmap.8.in index 152046b..c022402 100644 --- a/cifs.idmap.8.in +++ b/cifs.idmap.8.in @@ -22,7 +22,7 @@ cifs.idmap \- Userspace helper for mapping ids for Common Internet File System (CIFS) .SH "SYNOPSIS" .HP \w'\ 'u -cifs.idmap [--timeout|-t] [--version|-v] {keyid} +cifs.idmap [--help|-h] [--timeout|-t] [--version|-v] {keyid} .SH "DESCRIPTION" .PP This tool is part of the cifs-utils suite\&. @@ -46,6 +46,11 @@ cifs\&.idmap works in conjuction with winbind facility of Samba suite to map own In case winbind and cifs.idmap facilities are unavailable, file objects in a mounted share are assigned uid and gid of the credentials of the process that mounted the share\&. So it is strongly recomemended to use mount options of uid and gid to specify a default uid and gid to map owner SIDs and group SIDs respectively in case services of winbind and cifs.idmap facility are unavailable\&. .SH "OPTIONS" .PP +--help|-h +.RS +Print the usage message and exit. +.RE +.PP --timeout|-t .RS 4 Set the expiration timer, in seconds on the key. The default is 600 seconds (10 minutes). Setting this to 0 will cause the key to never expire. |