tvacfs: document replacement of -c flag by -M - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ce8d6f246568cdb397a0a0095ad843a9769149a8
 (DIR) parent 3155ec718b80413db5b6c90fde8101bda93ccf93
 (HTM) Author: David du Colombier <0intro@gmail.com>
       Date:   Mon, 13 Jun 2011 14:41:52 -0400
       
       vacfs: document replacement of -c flag by -M
       
       R=rsc
       CC=plan9port.codebot
       http://codereview.appspot.com/4595049
       
       Diffstat:
         M man/man4/vacfs.4                    |      14 +++++++-------
         M src/cmd/vac/vacfs.c                 |       2 +-
       
       2 files changed, 8 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/man/man4/vacfs.4 b/man/man4/vacfs.4
       t@@ -7,10 +7,6 @@ vacfs \- a Venti-based file system
        .B -dip
        ]
        [
       -.B -c
       -.I cachesize
       -]
       -[
        .B -h
        .I host
        ]
       t@@ -22,6 +18,10 @@ vacfs \- a Venti-based file system
        .B -s
        .I srvname
        ]
       +[
       +.B -M
       +.I mem
       +]
        .I vacfile
        .SH DESCRIPTION
        .I Vacfs
       t@@ -41,9 +41,6 @@ Options to
        .I vacfs
        are:
        .TP
       -.BI -c " cachesize
       -The number of file system blocks to cache in memory. The default is 1000 blocks.
       -.TP
        .B -d
        Print debugging information to standard error.
        .TP
       t@@ -77,6 +74,9 @@ is
        without any directory name or
        .L .vac
        extension.
       +.TP
       +.BI -M " mem
       +The amount of memory, in bytes, allocated to the block cache. The default is 16M.
        .PD
        .SH SOURCE
        .B \*9/src/cmd/vac
 (DIR) diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c
       t@@ -274,7 +274,7 @@ srv(void *a)
        void
        usage(void)
        {
       -        fprint(2, "usage: %s [-sd] [-h host] [-c ncache] [-m mountpoint] vacfile\n", argv0);
       +        fprint(2, "usage: %s [-sd] [-h host] [-m mountpoint] [-M mem] vacfile\n", argv0);
                threadexitsall("usage");
        }