comparison src/octave.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 6e9f100c0d61
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
111 // If TRUE, print verbose info in some cases. 111 // If TRUE, print verbose info in some cases.
112 // (--verbose; -V) 112 // (--verbose; -V)
113 static bool verbose_flag = false; 113 static bool verbose_flag = false;
114 114
115 // Usage message 115 // Usage message
116 static const char *usage_string = 116 static const char *usage_string =
117 "octave [-HVdfhiqvx] [--debug] [--echo-commands] [--eval CODE]\n\ 117 "octave [-HVdfhiqvx] [--debug] [--echo-commands] [--eval CODE]\n\
118 [--exec-path path] [--help] [--image-path path] [--info-file file]\n\ 118 [--exec-path path] [--help] [--image-path path] [--info-file file]\n\
119 [--info-program prog] [--interactive] [--line-editing]\n\ 119 [--info-program prog] [--interactive] [--line-editing]\n\
120 [--no-history] [--no-init-file] [--no-init-path] [--no-line-editing]\n\ 120 [--no-history] [--no-init-file] [--no-init-path] [--no-line-editing]\n\
121 [--no-site-file] [--no-window-system] [-p path] [--path path]\n\ 121 [--no-site-file] [--no-window-system] [-p path] [--path path]\n\
482 curr_fcn_file_full_name = curr_fcn_file_name; 482 curr_fcn_file_full_name = curr_fcn_file_name;
483 483
484 octave_program_invocation_name = curr_fcn_file_name; 484 octave_program_invocation_name = curr_fcn_file_name;
485 485
486 size_t pos = curr_fcn_file_name.find_last_of (file_ops::dir_sep_chars ()); 486 size_t pos = curr_fcn_file_name.find_last_of (file_ops::dir_sep_chars ());
487 487
488 std::string tmp = (pos != std::string::npos) 488 std::string tmp = (pos != std::string::npos)
489 ? curr_fcn_file_name.substr (pos+1) : curr_fcn_file_name; 489 ? curr_fcn_file_name.substr (pos+1) : curr_fcn_file_name;
490 490
491 octave_program_name = tmp; 491 octave_program_name = tmp;
492 492