diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-16 11:10:09 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-16 11:13:16 +0000 |
commit | f3bae6ed737c59791c5d36932e4d2387309f8fdb (patch) | |
tree | ab98cdcbe9ab7fa19d47876733863d4a1eca1b6f /src/tool_operate.c | |
parent | 013e9a11ffffe954ca56b70b8400fe1986966e96 (diff) |
tool_paramhlp: Added URL index to password prompt for multiple operations
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; } |