diff --git a/LICENSE.mit b/LICENSE.mit index e69de29..0aeba95 100644 --- a/LICENSE.mit +++ b/LICENSE.mit @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 MaikelChan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/main.go b/main.go index e53b4f0..07a4c43 100644 --- a/main.go +++ b/main.go @@ -103,6 +103,8 @@ Options: -q, --querycount Query internal counter -E, --eject uint Eject paper by N lines -R, --retract uint Retract paper by N lines + -o, --output Output PNG preview instead of printing. + If is "-", writes PNG to stdout. Path to PNG/JPG to print, or '-' for stdin`) } }