X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fsetattr.c;h=123ce5ef157fda2234e2e2dd96b37310cfe818ba;hb=a741f6faf2baae1e823d334012f6a09e6a1bda51;hp=9fadca3451143fd1a1bdd7eba72cdcdf34199e6f;hpb=2822ba293eb308225c50d346930c47bf98d9927b;p=util-vserver.git diff --git a/src/setattr.c b/src/setattr.c index 9fadca3..123ce5e 100644 --- a/src/setattr.c +++ b/src/setattr.c @@ -1,4 +1,4 @@ -// $Id: setattr.c,v 1.11 2004/03/05 19:50:45 ensc Exp $ --*- 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"