Add copyright notices to all files, to prepare the program for release.

This commit is contained in:
Sei Lisa 2015-03-05 23:18:41 +01:00
parent d164b0fa44
commit c68a1f4ad6
15 changed files with 977 additions and 11 deletions

30
main.py
View file

@ -1,4 +1,23 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# (C) Copyright 2015 Sei Lisa. All rights reserved.
#
# This file is part of LSL PyOptimizer.
#
# LSL PyOptimizer is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# LSL PyOptimizer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LSL PyOptimizer. If not, see <http://www.gnu.org/licenses/>.
# This is the main executable program that imports the libraries.
from lslopt.lslparse import parser,EParse
from lslopt.lsloutput import outscript
@ -9,7 +28,14 @@ def main():
if len(sys.argv) < 2:
sys.stderr.write(
r'''LSL optimizer v0.1
Copyright (C) 2015 Sei Lisa. All rights reserved.
(C) Copyright 2015 Sei Lisa. All rights reserved.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
This program is licensed under the GNU General Public License
version 3.
Usage: %s [-O [+|-]option[,[+|-]option[,...]]] filename