From f3bae6ed737c59791c5d36932e4d2387309f8fdb Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 16 Feb 2014 11:10:09 +0000 Subject: tool_paramhlp: Added URL index to password prompt for multiple operations --- src/tool_operate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tool_operate.c') 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; } -- cgit v1.2.3