Tweak a couple of messages

This commit is contained in:
Bozhidar Batsov 2020-09-15 22:02:16 +03:00
parent e29042f369
commit e278f32a0a

View file

@ -73,7 +73,7 @@ usage() {
printf " -d, --directory [dir] \t Install Prelude into the specified directory.\n" printf " -d, --directory [dir] \t Install Prelude into the specified directory.\n"
printf " \t \t \t \t If 'dir' is a relative path prefix with $HOME.\n" printf " \t \t \t \t If 'dir' is a relative path prefix with $HOME.\n"
printf " \t \t \t \t Defaults to $HOME/.emacs.d\n" printf " \t \t \t \t Defaults to $HOME/.emacs.d\n"
printf " -s, --source [url] \t \t Clone prelude from 'url'.\n" printf " -s, --source [url] \t \t Clone Prelude from 'url'.\n"
printf " \t \t \t \t Defaults to 'https://github.com/bbatsov/prelude.git'.\n" printf " \t \t \t \t Defaults to 'https://github.com/bbatsov/prelude.git'.\n"
printf " -n, --no-bytecompile \t \t Skip the bytecompilation step of Prelude.\n" printf " -n, --no-bytecompile \t \t Skip the bytecompilation step of Prelude.\n"
printf " -i, --into \t \t \t Install Prelude into a subdirectory in the existing configuration\n" printf " -i, --into \t \t \t Install Prelude into a subdirectory in the existing configuration\n"
@ -208,7 +208,7 @@ then
# File exist but not a regular file or directory # File exist but not a regular file or directory
# WTF NOW? # WTF NOW?
printf "$BRED $PRELUDE_INSTALL_DIR exist but isn't a file or directory.\n" printf "$BRED $PRELUDE_INSTALL_DIR exist but isn't a file or directory.\n"
printf "$BRED please remove this file or install prelude in a different directory" printf "$BRED please remove this file or install Prelude in a different directory"
printf "$BRED (-d flag)\n$RESET" printf "$BRED (-d flag)\n$RESET"
exit 1 exit 1
else else