|
From: Chris W. <la...@us...> - 2005-10-22 21:57:24
|
Update of /cvsroot/openinteract/OpenInteract2/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22036 Modified Files: oi2_manage Log Message: OIN-166: grab how oi2_manage was invoked and pass it along to the OI2::Manage creation Index: oi2_manage =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/script/oi2_manage,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** oi2_manage 29 Mar 2005 17:17:45 -0000 1.35 --- oi2_manage 22 Oct 2005 21:57:17 -0000 1.36 *************** *** 52,55 **** --- 52,56 ---- { + my $invocation = join( ' ', $0, @ARGV ); my @opt_defs = OpenInteract2::Manage->all_parameters_long_options; push @opt_defs, 'help|?', 'debug+', 'man', 'verbose', 'task=s'; *************** *** 64,67 **** --- 65,73 ---- } + # Ensure the original invocation is preserved for the management + # tasks + + $OPT{invocation} = $invocation; + # Do this before initializing the log so we can use the existing # category levels |