From eef2df386721b0f45d42e9b5bcd6b6d5142acf09 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 24 Apr 2023 06:55:51 +0200 Subject: [PATCH] update usage messages --- usr/lib/archboot/container.sh | 11 ++++++----- usr/lib/archboot/iso.sh | 14 ++++++++------ usr/lib/archboot/release.sh | 1 + usr/lib/archboot/repository.sh | 3 ++- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index 5912bf120..4d618e72a 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -5,13 +5,14 @@ _usage () { echo "CREATE ARCHBOOT CONTAINER" - echo "-----------------------------" + echo "-------------------------" echo "This will create an archboot container for an archboot image." + echo "" + echo " -cc Cleanup container eg. removing manpages, includes..." + echo " -cp Cleanup container package cache" + echo " -install-source= add package server with archboot repository" + echo "" echo "usage: ${_BASENAME} " - echo " Options:" - echo " -cc Cleanup container eg. removing manpages, includes..." - echo " -cp Cleanup container package cache" - echo " -install-source=Server add package server with archboot repository" exit 0 } diff --git a/usr/lib/archboot/iso.sh b/usr/lib/archboot/iso.sh index a091e83f5..06164ee1a 100644 --- a/usr/lib/archboot/iso.sh +++ b/usr/lib/archboot/iso.sh @@ -9,13 +9,15 @@ _usage () { echo "CREATE ${_ARCH} USB/CD IMAGES" echo "-----------------------------" echo "This will create an archboot iso image." + echo "" + echo " -g Starting generation of image." + echo " -p=PRESET Which preset should be used." + echo " /etc/archboot/presets locates the presets" + echo " default=${_ARCH}" + echo " -i=IMAGENAME Your IMAGENAME." + echo " -h This message." + echo "" echo "usage: ${_BASENAME} " - echo " -g Starting generation of image." - echo " -p=PRESET Which preset should be used." - echo " /etc/archboot/presets locates the presets" - echo " default=${_ARCH}" - echo " -i=IMAGENAME Your IMAGENAME." - echo " -h This message." exit 0 } diff --git a/usr/lib/archboot/release.sh b/usr/lib/archboot/release.sh index aa6a5f735..fb7e118b4 100644 --- a/usr/lib/archboot/release.sh +++ b/usr/lib/archboot/release.sh @@ -24,6 +24,7 @@ _usage () { echo "-----------------------------" echo "This will create an archboot release image in ." echo "You can specify a certain with an archboot repository." + echo "" echo "usage: ${_BASENAME} " exit 0 } diff --git a/usr/lib/archboot/repository.sh b/usr/lib/archboot/repository.sh index 984f1b0cb..d64f17e11 100644 --- a/usr/lib/archboot/repository.sh +++ b/usr/lib/archboot/repository.sh @@ -6,8 +6,9 @@ _GPG_KEY="/usr/share/archboot/gpg/tpowa.gpg" _usage () { echo "CREATE ARCHBOOT REPOSITORY" - echo "-----------------------------" + echo "--------------------------" echo "This will create an archboot repository for an archboot image." + echo "" echo "usage: ${_BASENAME} " exit 0 }