1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-22 04:45:11 +00:00

Add newlines around prompt section of remove.

The convention used in this project is to include newlines around
longer, grouped conditionals in order to provide better visual
separation.
This commit is contained in:
William Melody 2015-11-23 11:05:50 -08:00
parent 279573d2d0
commit 59e404f865

2
hosts
View File

@ -1023,6 +1023,7 @@ remove() {
printf "No matching records found.\n"
exit 1
fi
if ! ((force_skip_prompt))
then
printf "Removing the following records:\n%s\n" "$target_records"
@ -1040,6 +1041,7 @@ remove() {
esac
done
fi
# Regular Expression Notes
#
# -i '' - in place edit. BSD sed requires extension argument, for GNU