summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Bestle <mail@lukasbestle.com>2021-07-09 22:10:59 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2021-11-16 11:26:48 +0000
commit37c7b878053a82275a308b824e8444a407a0964d (patch)
tree79f578bfd1b142ea08175c5c8d44ef95af36842d
parentc389289ec4815d2d571a120973886c331de5e35a (diff)
downloadalpine-conf-37c7b878053a82275a308b824e8444a407a0964d.zip
setup-hostname: Fix flag in usage text
-rw-r--r--setup-hostname.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-hostname.in b/setup-hostname.in
index afb8a94..acc047d 100644
--- a/setup-hostname.in
+++ b/setup-hostname.in
@@ -7,12 +7,13 @@ PREFIX=
usage() {
cat <<-__EOF__
- usage: setup-hostname [-h] [HOSTNAME]
+ usage: setup-hostname [-h] [-n HOSTNAME]
Sets the system hostname.
options:
-h Show this help
+ -n Hostname to set non-interactively
Sets hostname to HOSTNAME or prompt if unspecified.
__EOF__