X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsetattr.c;fp=src%2Fsetattr.c;h=60b0468691b88638deaeb251c4da3d8aa2dbe5fb;hb=7ca2184598beb16840dffa6680e87e87723f846f;hp=1385ccc14f95227f0d36bf8494c405321bd29e2a;hpb=61a61f4696647f0890685c999d5ecf21d98ad304;p=util-vserver.git diff --git a/src/setattr.c b/src/setattr.c index 1385ccc..60b0468 100644 --- a/src/setattr.c +++ b/src/setattr.c @@ -61,6 +61,9 @@ CMDLINE_OPTIONS[] = { { "immutable", no_argument, 0, CMD_IMMUTABLE }, { "~immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, { "!immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, + { "write", no_argument, 0, CMD_WRITE }, + { "~write", no_argument, 0, CMD_UNSET_WRITE }, + { "!write", no_argument, 0, CMD_UNSET_WRITE }, { 0,0,0,0 } }; @@ -72,7 +75,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|immutable)]* [--] +\n\n" + " [-Rx] [--[~](iunlink|admin|watch|hide|barrier|iunlink-but-not-immutable|immutable|write)]* [--] +\n\n" " Options:\n" " -R ... recurse through directories\n" " -x ... do not cross filesystems\n\n"