]> git.neil.brown.name Git - wiggle.git/commit
main: only pass training args to extract/do_diff/do_merge.
authorNeil Brown <neilb@suse.de>
Sun, 13 May 2012 23:17:35 +0000 (09:17 +1000)
committerNeil Brown <neilb@suse.de>
Sun, 13 May 2012 23:17:35 +0000 (09:17 +1000)
commit6f0378b230e9eea7a4a01cbcfac37e4cac0f555b
tree82838f903337a242e9a205fdb09e3ae8de93ab38
parent51d4fd0100e3bd2fa85e6b87a2a9dfc64062c4cf
main: only pass training args to extract/do_diff/do_merge.

subtract/add optind to argc/argv before passing along.  That way
sub-functions don't need to access optind directly, and it will allow
us to pass other arg strings that are independent of optind.

Signed-off-by: NeilBrown <neilb@suse.de>
wiggle.c