1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-05-28 04:20:46 +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" printf "No matching records found.\n"
exit 1 exit 1
fi fi
if ! ((force_skip_prompt)) if ! ((force_skip_prompt))
then then
printf "Removing the following records:\n%s\n" "$target_records" printf "Removing the following records:\n%s\n" "$target_records"
@ -1040,6 +1041,7 @@ remove() {
esac esac
done done
fi fi
# Regular Expression Notes # Regular Expression Notes
# #
# -i '' - in place edit. BSD sed requires extension argument, for GNU # -i '' - in place edit. BSD sed requires extension argument, for GNU