Add license option.

This commit is contained in:
Dominik Pantůček 2023-03-20 12:25:08 +01:00
parent 6f8ba3350a
commit c32d27609a

View file

@ -3,25 +3,27 @@
;; ;;
;; Brmlab members management tool. ;; Brmlab members management tool.
;; ;;
;; ISC License
;; ;; The license of this file and of the whole suite.
;; Copyright 2023 Brmlab, z.s. (define license-text "ISC License
;; Dominik Pantůček <dominik.pantucek@trustica.cz>
;; Copyright 2023 Brmlab, z.s.
;; Permission to use, copy, modify, and/or distribute this software Dominik Pantůček <dominik.pantucek@trustica.cz>
;; for any purpose with or without fee is hereby granted, provided
;; that the above copyright notice and this permission notice appear Permission to use, copy, modify, and/or distribute this software
;; in all copies. for any purpose with or without fee is hereby granted, provided
;; that the above copyright notice and this permission notice appear
;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL in all copies.
;; WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
;; WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL
;; AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
;; CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
;; OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
;; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
;; CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
;; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
")
(import testing (import testing
listing listing
@ -70,6 +72,9 @@
(print-help) (print-help)
(newline) (newline)
(exit 0)) (exit 0))
(-license () "Show licensing terms"
(print license-text)
(exit 0))
(-MB (dir) "Members base directory" (*members-directory* dir)) (-MB (dir) "Members base directory" (*members-directory* dir))
(-mfkw () "Member-File invalid Key Warning" (*member-file-check-syntax* 'warning)) (-mfkw () "Member-File invalid Key Warning" (*member-file-check-syntax* 'warning))
(-mfkq () "Member-File invalid Key Quiet" (*member-file-check-syntax* 'quiet)) (-mfkq () "Member-File invalid Key Quiet" (*member-file-check-syntax* 'quiet))