Make order of attributes match precedence

This commit is contained in:
Tim Byrne 2021-12-23 15:51:18 -06:00
parent 4caf5f681e
commit 2f00dabcdb
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 15 additions and 15 deletions

30
yadm.1
View File

@ -478,6 +478,21 @@ Valid if the value matches the current user.
Current user is calculated by running Current user is calculated by running
.BR "id -u -n" . .BR "id -u -n" .
.TP .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 <class>" .
See the CONFIGURATION section for more details about setting
.BR local.class .
.TP
.BR distro , " d .BR distro , " d
Valid if the value matches the distro. Valid if the value matches the distro.
Distro is calculated by running Distro is calculated by running
@ -495,21 +510,6 @@ Valid if the value matches the architecture.
Architecture is calculated by running Architecture is calculated by running
.BR "uname -m" . .BR "uname -m" .
.TP .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 <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 .B default
Valid when no other alternate is valid. Valid when no other alternate is valid.
.TP .TP