From 63a0bc583022bc4797653b9e8645b6824d349692 Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Sun, 18 Oct 2020 21:41:14 +0200 Subject: [PATCH] Add documentation for the extension condition See #257 --- _docs/060_alternates.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_docs/060_alternates.md b/_docs/060_alternates.md index 1e7cab4..611fdd2 100644 --- a/_docs/060_alternates.md +++ b/_docs/060_alternates.md @@ -34,6 +34,7 @@ be omitted. Most attributes can be abbreviated as a single letter. | `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. | | `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. | * The OS for "Windows Subsystem for Linux" is reported as "WSL", even though uname identifies as "Linux".