Author: bugman Date: Thu Jul 28 16:53:26 2011 New Revision: 13961 URL: http://svn.gna.org/viewcvs/relax?rev=13961&view=rev Log: Fix for the overriding of the command line specified mode - the args must be processed anyway. Modified: 1.3/relax.py Modified: 1.3/relax.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax.py?rev=13961&r1=13960&r2=13961&view=diff ============================================================================== --- 1.3/relax.py (original) +++ 1.3/relax.py Thu Jul 28 16:53:26 2011 @@ -116,8 +116,9 @@ self.generic = generic_fns # Process the command line arguments and determine the relax mode. + cmd_mode, log_file, tee_file = self.arguments() if not mode: - mode, log_file, tee_file = self.arguments() + mode = cmd_mode # Set up the warning system. relax_warnings.setup(self.pedantic)