Mercurial > hg > octave-lyh
comparison scripts/gethelp.cc @ 12174:db1f49eaba6b
whitespace fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 26 Jan 2011 23:49:42 -0500 |
parents | a9be431c1595 |
children | 3709aaf73715 |
comparison
equal
deleted
inserted
replaced
12173:dd2af7b8dafe | 12174:db1f49eaba6b |
---|---|
115 | 115 |
116 done: | 116 done: |
117 | 117 |
118 if (! help_txt.empty ()) | 118 if (! help_txt.empty ()) |
119 { | 119 { |
120 if (looks_like_octave_copyright (help_txt)) | 120 if (looks_like_octave_copyright (help_txt)) |
121 help_txt.resize (0); | 121 help_txt.resize (0); |
122 | 122 |
123 if (help_txt.empty ()) | 123 if (help_txt.empty ()) |
124 help_txt = extract_help_text (); | 124 help_txt = extract_help_text (); |
125 } | 125 } |
142 { | 142 { |
143 name = argv[1]; | 143 name = argv[1]; |
144 file_name = argv[2]; | 144 file_name = argv[2]; |
145 } | 145 } |
146 | 146 |
147 std::string help_text = extract_help_text (); | 147 std::string help_text = extract_help_text (); |
148 | 148 |
149 if (! help_text.empty ()) | 149 if (! help_text.empty ()) |
150 { | 150 { |
151 std::cout << "" << name << "\n" | 151 std::cout << "" << name << "\n" |
152 << "@c " << name << " " << file_name << "\n" | 152 << "@c " << name << " " << file_name << "\n" |