From 891d6ca28f17d58808babd30d723a9942165c424 Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Sun, 18 Oct 2020 21:51:34 +0200 Subject: [PATCH] Correct the command used to determine hostname --- _docs/060_alternates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/060_alternates.md b/_docs/060_alternates.md index 611fdd2..f47a248 100644 --- a/_docs/060_alternates.md +++ b/_docs/060_alternates.md @@ -32,7 +32,7 @@ be omitted. Most attributes can be abbreviated as a single letter. | `distro`, `d` | Valid if the value matches the distro. Distro is calculated by running lsb_release ‑si or inspecting /etc/os-release | | `os`, `o` | Valid if the value matches the OS. OS is calculated by running uname ‑s. * | | `class`, `c` | Valid if the value matches the local.class configuration. Class must be manually set using yadm config local.class <class>. | -| `hostname`, `h` | Valid if the value matches the short hostname. Hostname is calculated by running `hostname`, and trimming off any domain. | +| `hostname`, `h` | Valid if the value matches the short hostname. Hostname is calculated by running uname ‑n, and trimming off any domain. | | `default` | Valid when no other alternate is valid. | | `extension`, `e` | A special "condition" that doesn't affect the selection process. Its purpose is instead to allow the alternate file to end with a certain extension to e.g. make editors highlight the content properly. |