X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fsetattr.c;h=123ce5ef157fda2234e2e2dd96b37310cfe818ba;hb=a741f6faf2baae1e823d334012f6a09e6a1bda51;hp=134439f1d7acc6d9395780aac01d05c11b711ee2;hpb=3b34449070c0846fdc49436d1edd5916512f1644;p=util-vserver.git diff --git a/src/setattr.c b/src/setattr.c index 134439f..123ce5e 100644 --- a/src/setattr.c +++ b/src/setattr.c @@ -1,4 +1,4 @@ -// $Id: setattr.c 1112 2004-03-05 19:50:45Z ensc $ --*- c -*-- +// $Id: setattr.c 2592 2007-08-16 20:33:45Z dhozac $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -58,6 +58,9 @@ CMDLINE_OPTIONS[] = { { "iunlink-but-not-immutable", no_argument, 0, CMD_IMMUX }, { "~iunlink-but-not-immutable", no_argument, 0, CMD_UNSET_IMMUX }, { "!iunlink-but-not-immutable", no_argument, 0, CMD_UNSET_IMMUX }, + { "immutable", no_argument, 0, CMD_IMMUTABLE }, + { "~immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, + { "!immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, { 0,0,0,0 } }; @@ -69,7 +72,7 @@ showHelp(int fd, char const *cmd, int res) WRITE_MSG(fd, "Usage: "); WRITE_STR(fd, cmd); WRITE_MSG(fd, - " [-Rx] [--[~](iunlink|admin|watch|hide|barrier|iunlink-but-not-immutable)]* [--] +\n\n" + " [-Rx] [--[~](iunlink|admin|watch|hide|barrier|iunlink-but-not-immutable|immutable)]* [--] +\n\n" " Options:\n" " -R ... recurse through directories\n" " -x ... do not cross filesystems\n\n"