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