@@ -109,6 +109,29 @@ int main(int argc, char **argv) {
109109 std::cout << " This application uses the following libraries:" << std::endl;
110110 std::cout << " - cxxopts by jarro2783 (https://github.com/jarro2783/cxxopts)" << std::endl;
111111 std::cout << " - libmodbus by Stéphane Raimbault (https://github.com/stephane/libmodbus)" << std::endl;
112+ std::cout << std::endl;
113+ std::cout << std::endl;
114+ std::cout << " MIT License:" << std::endl;
115+ std::cout << std::endl;
116+ std::cout << " Copyright (c) 2021 Nikolas Koesling" << std::endl;
117+ std::cout << std::endl;
118+ std::cout << " Permission is hereby granted, free of charge, to any person obtaining a copy" << std::endl;
119+ std::cout << " of this software and associated documentation files (the \" Software\" ), to deal" << std::endl;
120+ std::cout << " in the Software without restriction, including without limitation the rights" << std::endl;
121+ std::cout << " to use, copy, modify, merge, publish, distribute, sublicense, and/or sell" << std::endl;
122+ std::cout << " copies of the Software, and to permit persons to whom the Software is" << std::endl;
123+ std::cout << " furnished to do so, subject to the following conditions:" << std::endl;
124+ std::cout << std::endl;
125+ std::cout << " The above copyright notice and this permission notice shall be included in all" << std::endl;
126+ std::cout << " copies or substantial portions of the Software." << std::endl;
127+ std::cout << std::endl;
128+ std::cout << " THE SOFTWARE IS PROVIDED \" AS IS\" , WITHOUT WARRANTY OF ANY KIND, EXPRESS OR" << std::endl;
129+ std::cout << " IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY," << std::endl;
130+ std::cout << " FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE" << std::endl;
131+ std::cout << " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER" << std::endl;
132+ std::cout << " LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM," << std::endl;
133+ std::cout << " OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE" << std::endl;
134+ std::cout << " SOFTWARE." << std::endl;
112135 exit (EX_OK);
113136 }
114137
0 commit comments