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