tool_operate: Changed the required argument check/get to be upfront
authorSteve Holme <steve_holme@hotmail.com>
Fri, 14 Feb 2014 22:05:27 +0000 (22:05 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 15 Feb 2014 18:59:12 +0000 (18:59 +0000)
commit2de045ff7c56083930efda2a24eb8c5abf41c1b0
tree99d07ecd5c9b32672a21ca769c1ea73d2db2ceed
parentf80ca7a05a2affce7b02f618592981aa02e61ce7
tool_operate: Changed the required argument check/get to be upfront

Rather than check for required arguments, and prompt for any host and
proxy passwords, as each operation is performed, changed the code so
all configurations are checked before any operations are performed.

This allows the user to input all the required passwords, for example,
upfront rather than wait for each operation.
src/tool_operate.c