Mercurial > hg > octave-lyh
annotate scripts/miscellaneous/bug_report.m @ 17535:c12c688a35ed default tip lyh
Fix warnings
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 27 Sep 2013 17:43:27 +0800 |
parents | 1c89599167a6 |
children |
rev | line source |
---|---|
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
12800
diff
changeset
|
1 ## Copyright (C) 1994-2012 John W. Eaton |
2313 | 2 ## |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7016 | 7 ## the Free Software Foundation; either version 3 of the License, or (at |
8 ## your option) any later version. | |
2313 | 9 ## |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
7016 | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | |
796 | 18 |
3449 | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} bug_report () | |
11015
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
21 ## Display information about how to submit bug reports for Octave. |
3449 | 22 ## @end deftypefn |
796 | 23 |
2314 | 24 ## Author: jwe |
25 | |
2311 | 26 function bug_report () |
796 | 27 |
11015
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
28 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
29 puts (" Bug reports play an essential role in making Octave\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
30 puts (" reliable. Please use the Octave bug tracker at\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
31 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
32 puts (" http://bugs.octave.org\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
33 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
34 puts (" to report problems.\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
35 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
36 puts (" Please also read the bug reporting guidelines at\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
37 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
38 puts (" http://www.octave.org/bugs.html\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
39 puts ("\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
40 puts (" to learn how to submit useful bug reports that will\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
41 puts (" help the Octave community diagnose and fix the problem\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
42 puts (" quickly and efficiently.\n"); |
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
8920
diff
changeset
|
43 puts ("\n"); |
802 | 44 |
796 | 45 endfunction |
12800
bde2c81aa2e6
codesprint: dummy test for bug_report function.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
46 |
14363
f3d52523cde1
Use Octave coding conventions in all m-file %!test blocks
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
47 |
12800
bde2c81aa2e6
codesprint: dummy test for bug_report function.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
48 ## Mark file as being tested. No real test needed for this function. |
bde2c81aa2e6
codesprint: dummy test for bug_report function.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
49 %!assert (1) |
17346
1c89599167a6
maint: End m-files with 1 blank line.
Rik <rik@octave.org>
parents:
14363
diff
changeset
|
50 |