X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsetattr.c;h=1385ccc14f95227f0d36bf8494c405321bd29e2a;hb=90ceb7b399cf3c1eb8d0c7474bd2498fe62cd022;hp=4513ac9ce9c038ae3fe2d2a9aa772c8cc49ee73b;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/src/setattr.c b/src/setattr.c index 4513ac9..1385ccc 100644 --- a/src/setattr.c +++ b/src/setattr.c @@ -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"