move copyrigh and license into "show_version()"
This commit is contained in:
parent
42b781db96
commit
6d134e2d89
|
@ -11,19 +11,20 @@
|
|||
VERSION="0.5.0.beta3"
|
||||
|
||||
show_version() {
|
||||
printf "%s\n" "evomaintenance version ${VERSION}"
|
||||
}
|
||||
|
||||
show_help() {
|
||||
cat <<END
|
||||
$(show_version)
|
||||
evomaintenance version ${VERSION}
|
||||
|
||||
Copyright 2007-2019 Evolix <info@evolix.fr>, Gregory Colpart <reg@evolix.fr>,
|
||||
Jérémy Lecour <jlecour@evolix.fr> and others.
|
||||
|
||||
evomaintenance comes with ABSOLUTELY NO WARRANTY. This is free software,
|
||||
and you are welcome to redistribute it under certain conditions.
|
||||
See the GNU General Public Licence for details.
|
||||
END
|
||||
}
|
||||
|
||||
show_help() {
|
||||
cat <<END
|
||||
evomaintenance is a program that helps reporting what you've done on a server
|
||||
|
||||
Usage: evomaintenance
|
||||
|
|
Loading…
Reference in a new issue