mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-21 20:35:10 +00:00
Improve section dividers.
This commit is contained in:
parent
dfbc83e12c
commit
a09e7b2468
28
hosts
28
hosts
@ -661,7 +661,7 @@ commands() {
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# ------------------------------------------------------------------------- add
|
||||
# add ##################################################################### add
|
||||
|
||||
desc "add" <<HEREDOC
|
||||
Usage:
|
||||
@ -736,7 +736,7 @@ add() {
|
||||
fi
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------- backups
|
||||
# backups ############################################################# backups
|
||||
|
||||
desc "backups" <<HEREDOC
|
||||
Usage:
|
||||
@ -891,7 +891,7 @@ backups() {
|
||||
esac
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------------- block
|
||||
# block ################################################################# block
|
||||
|
||||
desc "block" <<HEREDOC
|
||||
Usage:
|
||||
@ -923,7 +923,7 @@ block() {
|
||||
done
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------- disable
|
||||
# disable ############################################################# disable
|
||||
|
||||
desc "disable" <<HEREDOC
|
||||
Usage:
|
||||
@ -988,7 +988,7 @@ disable() {
|
||||
fi
|
||||
}
|
||||
|
||||
# -------------------------------------------------------------------- disabled
|
||||
# disabled ########################################################### disabled
|
||||
|
||||
desc "disabled" <<HEREDOC
|
||||
Usage:
|
||||
@ -1001,7 +1001,7 @@ disabled() {
|
||||
list disabled
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------ edit
|
||||
# edit ################################################################### edit
|
||||
|
||||
desc "edit" <<HEREDOC
|
||||
Usage:
|
||||
@ -1021,7 +1021,7 @@ edit() {
|
||||
fi
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------- enable
|
||||
# enable ############################################################### enable
|
||||
|
||||
desc "enable" <<HEREDOC
|
||||
Usage:
|
||||
@ -1086,7 +1086,7 @@ enable() {
|
||||
fi
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------- enabled
|
||||
# enabled ############################################################# enabled
|
||||
|
||||
desc "enabled" <<HEREDOC
|
||||
Usage:
|
||||
@ -1099,7 +1099,7 @@ enabled() {
|
||||
list enabled
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------ file
|
||||
# file ################################################################### file
|
||||
|
||||
desc "file" <<HEREDOC
|
||||
Usage:
|
||||
@ -1112,7 +1112,7 @@ file() {
|
||||
cat "${HOSTS_PATH}"
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------ list
|
||||
# list ################################################################### list
|
||||
|
||||
desc "list" <<HEREDOC
|
||||
Usage:
|
||||
@ -1158,7 +1158,7 @@ list() {
|
||||
fi
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------- remove
|
||||
# remove ############################################################### remove
|
||||
|
||||
desc "remove" <<HEREDOC
|
||||
Usage:
|
||||
@ -1308,7 +1308,7 @@ remove() {
|
||||
desc "delete" "$(desc --get 'remove')"
|
||||
delete() { remove "${@}"; }
|
||||
|
||||
# ---------------------------------------------------------------------- search
|
||||
# search ############################################################### search
|
||||
|
||||
desc "search" <<HEREDOC
|
||||
Usage:
|
||||
@ -1327,7 +1327,7 @@ search() {
|
||||
list "$@"
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------------------ show
|
||||
# show ################################################################### show
|
||||
|
||||
desc "show" <<HEREDOC
|
||||
Usage:
|
||||
@ -1376,7 +1376,7 @@ show() {
|
||||
fi
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------- unblock
|
||||
# unblock ############################################################# unblock
|
||||
|
||||
desc "unblock" <<HEREDOC
|
||||
Usage:
|
||||
|
Loading…
Reference in New Issue
Block a user