Skip to content

Commit 2f00dab

Browse files
Make order of attributes match precedence
1 parent 4caf5f6 commit 2f00dab

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

yadm.1

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,21 @@ Valid if the value matches the current user.
478478
Current user is calculated by running
479479
.BR "id -u -n" .
480480
.TP
481+
.BR hostname , " h
482+
Valid if the value matches the short hostname.
483+
Hostname is calculated by running
484+
.BR "uname -n" ,
485+
and trimming off any domain.
486+
.TP
487+
.BR class , " c
488+
Valid if the value matches the
489+
.B local.class
490+
configuration.
491+
Class must be manually set using
492+
.BR "yadm config local.class <class>" .
493+
See the CONFIGURATION section for more details about setting
494+
.BR local.class .
495+
.TP
481496
.BR distro , " d
482497
Valid if the value matches the distro.
483498
Distro is calculated by running
@@ -495,21 +510,6 @@ Valid if the value matches the architecture.
495510
Architecture is calculated by running
496511
.BR "uname -m" .
497512
.TP
498-
.BR class , " c
499-
Valid if the value matches the
500-
.B local.class
501-
configuration.
502-
Class must be manually set using
503-
.BR "yadm config local.class <class>" .
504-
See the CONFIGURATION section for more details about setting
505-
.BR local.class .
506-
.TP
507-
.BR hostname , " h
508-
Valid if the value matches the short hostname.
509-
Hostname is calculated by running
510-
.BR "uname -n" ,
511-
and trimming off any domain.
512-
.TP
513513
.B default
514514
Valid when no other alternate is valid.
515515
.TP

0 commit comments

Comments
 (0)