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 f367e02..7c311a9 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;