♻ (flatpak-sync) Use consistent function declarations
This commit is contained in:
parent
223808164d
commit
e87d497ea7
1 changed files with 3 additions and 3 deletions
|
@ -15,15 +15,15 @@ INFO_COLOR="\033[0;32m"
|
||||||
ERR_COLOR="\033[1;31m"
|
ERR_COLOR="\033[1;31m"
|
||||||
NO_COLOR="\033[0m"
|
NO_COLOR="\033[0m"
|
||||||
|
|
||||||
info() {
|
function info() {
|
||||||
printf "$APP_COLOR[$APP_NAME] $INFO_COLOR$1$NO_COLOR\n"
|
printf "$APP_COLOR[$APP_NAME] $INFO_COLOR$1$NO_COLOR\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
error() {
|
function error() {
|
||||||
printf "$APP_COLOR[$APP_NAME] $ERR_COLOR$1$NO_COLOR\n"
|
printf "$APP_COLOR[$APP_NAME] $ERR_COLOR$1$NO_COLOR\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
function usage() {
|
||||||
info "Usage: flatpak-sync [sync | add <appId> | remove <appId> | usage]"
|
info "Usage: flatpak-sync [sync | add <appId> | remove <appId> | usage]"
|
||||||
info "sync: Synchronized installed apps with app list."
|
info "sync: Synchronized installed apps with app list."
|
||||||
info "add | a | install | i: Add app with app id to the list and sync."
|
info "add | a | install | i: Add app with app id to the list and sync."
|
||||||
|
|
Loading…
Reference in a new issue