fritz_tffs_read: fix parsing of size argument
authorValentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>
Mon, 8 May 2017 22:41:42 +0000 (00:41 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 10 May 2017 22:53:05 +0000 (00:53 +0200)
The parameter specification missed that -s takes an argument.

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>
package/utils/fritz-tools/src/fritz_tffs_read.c

index f367e02e04778bcce1d046556048b66b4339a5de..7c311a90caa4a0246431e2afc773ab5d1661350c 100644 (file)
@@ -259,7 +259,7 @@ static void parse_options(int argc, char *argv[])
        {
                int c;
 
-               c = getopt(argc, argv, "abhi:ln:s");
+               c = getopt(argc, argv, "abhi:ln:s:");
                if (c == -1)
                        break;