URI: 
       tcorrect documentation on -s option - tomb - the crypto undertaker
  HTML git clone git://parazyd.org/tomb.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 325633d2fbdbca5374ee731f869773262dd7b030
   DIR parent f9805731f1776f1f7750b56e034e2b2cb751bb27
  HTML Author: Jaromil <jaromil@dyne.org>
       Date:   Sun, 12 Jan 2014 23:39:59 +0100
       
       correct documentation on -s option
       
       somewhere mentioned as --size, but the option is really just -s
       fixes #100
       
       Diffstat:
         M doc/tomb.1                          |       6 +++---
         M tomb                                |       6 +++---
       
       2 files changed, 6 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/doc/tomb.1 b/doc/tomb.1
       t@@ -30,8 +30,8 @@ harddisk and its key file on a USB stick.
        .IP "dig"
        Generates a file that can be used as a tomb and will occupy as much
        space as its desired initial size, the unlocked \fI.tomb\fR file can
       -then be locked using a \fIkey\fR. It takes a mandatory option which is
       -the \fI--size\fR in megabytes (MiB). Tombs are digged using
       +then be locked using a \fIkey\fR. It takes a mandatory \fI-s\fR option which is
       +the size in megabytes (MiB). Tombs are digged using
        low-quality random data (/dev/urandom).
        
        .B
       t@@ -127,7 +127,7 @@ key and the second and last argument the tomb file.
        .B
        .IP "resize"
        Increase the size of a tomb file to the amount specified by the
       -\fI--size\fR option in megabytes (MiB). Full access to the tomb using
       +\fI-s\fR option, which is the new size in megabytes (MiB). Full access to the tomb using
        a key (\fI-k\fR) and its password is requires. Tombs can only grow and
        can never be made smaller. This command makes use of the cryptsetup
        resize feature and the resize2fs command: its much more practical than
   DIR diff --git a/tomb b/tomb
       t@@ -320,7 +320,7 @@ Syntax: tomb [options] command [arguments]
        Commands:
        
         // Creation:
       - dig     create a new empty TOMB file of --size in MB
       + dig     create a new empty TOMB file of size -s in MB
         forge   create a new KEY file and set its password
         lock    installs a lock on a TOMB to use it with KEY
        
       t@@ -334,7 +334,7 @@ Commands:
        EOF
            if [ "$RESIZER" = 1 ]; then
                cat <<EOF
       - resize  resize a TOMB to a new --size (can only grow)
       + resize  resize a TOMB to a new size -s (can only grow)
        EOF
            fi
        cat <<EOF
       t@@ -1117,7 +1117,7 @@ dig_tomb() {
            # require the specification of the size of the tomb (-s) in MB
            tombsize="`option_value -s`"
        
       -    [ $tombsize ] || die "Size argument missing, use --size"
       +    [ $tombsize ] || die "Size argument missing, use -s"
        
            [[ $tombsize != <-> ]] && die "Size argument is not an integer"