diff options
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 6e0715707..efe9bfc64 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1838,11 +1838,12 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[]) } /* Perform the main operations */ else { + size_t count = 0; struct Configurable *operation = config; /* Get the required aguments for each operation */ while(!result && operation) { - result = get_args(operation); + result = get_args(operation, count++); operation = operation->next; } |