summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__