From 8a66144c9118f8df80eba28c5b363fac574194da Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 08 Mar 2014 18:25:18 +0000
Subject: [PATCH] Parsing command line arguments is still kind-of messy, but it workds for force-from-tape and reset-iteration-count

---
 src/io.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/io.c b/src/io.c
index d1a2e3e..d4a9cc4 100644
--- a/src/io.c
+++ b/src/io.c
@@ -333,7 +333,8 @@
      {
        static struct option long_options[] =
          {
-           {"force-from-tape", no_argument,       &force_from_tape, 1},
+           {"force-from-tape", no_argument,       &(command_line_args.force_from_tape), 1},
+	   {"reset-iteration-count", no_argument, &(command_line_args.reset_iteration_count), 1},
            {"tape",     no_argument,       0, 't'},
            {"output-file",  required_argument, 0, 'o'},
            {"directory",  required_argument, 0, 'd'},

--
Gitblit v1.9.3