diff --git a/functions.sh b/functions.sh index 852a79b..abbee3e 100644 --- a/functions.sh +++ b/functions.sh @@ -11,7 +11,7 @@ desktopsearch () { iconsearch () { local icon_pack=$1 if [ -z $icon_pack ]; then - echo "iconsearch requires a icon pack." 1>&2 + echo "IconToaster requires an icon pack as an argument." 1>&2 exit 1; fi for icon in $(find ~/.icons/$icon_pack -name '*.png'); @@ -26,7 +26,7 @@ iconsearch () { compare_desktop_and_icons() { local icon_pack=$1 if [ -z $icon_pack ]; then - echo "iconsearch requires a icon pack." 1>&2 + echo "IconToaster requires an icon pack as an argument." 1>&2 exit 1; fi perl <(cat <<'EOF' diff --git a/missing.sh b/missing.sh index a7e7703..2de7a9f 100755 --- a/missing.sh +++ b/missing.sh @@ -3,6 +3,11 @@ # This file is part of IconToaster # and it's AGPLv3 licensed. +# Launch this script with an argument containing the icon pack +# for example, if you want to test aleta, you must write +# ./missing.sh aleta +# Note that for now only icon packs in ~/.icons are testable. + script_path=$(dirname $0) script_name=$(basename $0) icon_pack=$1 @@ -10,7 +15,7 @@ icon_pack=$1 . "$script_path/functions.sh" if [ -z $icon_pack ]; then - echo "$script_name requires a icon pack." 1>&2 + echo "$script_name requires an icon pack as an argument." 1>&2 exit 1; fi