From 2f00dabcdbbb90dc6f611a61792d984a85e6d592 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Thu, 23 Dec 2021 15:51:18 -0600 Subject: [PATCH] Make order of attributes match precedence --- yadm.1 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/yadm.1 b/yadm.1 index 04da06b..6f4ba6b 100644 --- a/yadm.1 +++ b/yadm.1 @@ -478,6 +478,21 @@ Valid if the value matches the current user. Current user is calculated by running .BR "id -u -n" . .TP +.BR hostname , " h +Valid if the value matches the short hostname. +Hostname is calculated by running +.BR "uname -n" , +and trimming off any domain. +.TP +.BR class , " c +Valid if the value matches the +.B local.class +configuration. +Class must be manually set using +.BR "yadm config local.class " . +See the CONFIGURATION section for more details about setting +.BR local.class . +.TP .BR distro , " d Valid if the value matches the distro. Distro is calculated by running @@ -495,21 +510,6 @@ Valid if the value matches the architecture. Architecture is calculated by running .BR "uname -m" . .TP -.BR class , " c -Valid if the value matches the -.B local.class -configuration. -Class must be manually set using -.BR "yadm config local.class " . -See the CONFIGURATION section for more details about setting -.BR local.class . -.TP -.BR hostname , " h -Valid if the value matches the short hostname. -Hostname is calculated by running -.BR "uname -n" , -and trimming off any domain. -.TP .B default Valid when no other alternate is valid. .TP