add usage to cpio

This commit is contained in:
Tobias Powalowski 2024-08-01 10:47:12 +02:00
parent 6a580c30db
commit 9ecebadf99

View file

@ -11,7 +11,7 @@ _TARGET_DIR=""
_usage() { _usage() {
echo -e "\e[1m\e[36mArchboot\e[m\e[1m - Cpio\e[m" echo -e "\e[1m\e[36mArchboot\e[m\e[1m - Cpio\e[m"
echo -e "\e[1m----------------\e[m" echo -e "\e[1m---------------\e[m"
echo "Tool for creating an archboot initramfs image." echo "Tool for creating an archboot initramfs image."
echo echo
echo " -h Display this message and exit" echo " -h Display this message and exit"
@ -19,7 +19,7 @@ _usage() {
echo " -g <path> Generate cpio image and write to specified <path>" echo " -g <path> Generate cpio image and write to specified <path>"
echo " -d <dir> Generate image into <dir>" echo " -d <dir> Generate image into <dir>"
echo echo
echo -e "Usage: \e[1m${_APPNAME} <options>\e[m" echo -e "Usage: \e[1m${_BASENAME} <options>\e[m"
exit 0 exit 0
} }