summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2019-06-05 14:32:53 -0400
committerAnish Athalye <me@anishathalye.com>2019-06-05 14:32:53 -0400
commit8454021d667fdec2897fa03e977677efca5cfe6a (patch)
tree4f646d8121037d152b20e62f2dae0fcb46291d7b
parentb062aeaf15f1b174f6c9b88a0b2017b06d7fbd3e (diff)
parent017c70b5b0d11c07afac435215be647ef2f3c6c1 (diff)
Merge branch 'ronalabraham/patch-1'
-rw-r--r--README.md4
-rw-r--r--dotbot/plugins/link.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3e1e51b..5faf3f3 100644
--- a/README.md
+++ b/README.md
@@ -160,11 +160,11 @@ Available extended configuration parameters:
| Link Option | Explanation |
| -- | -- |
-| `path` | The target for the symlink, the same as in the shortcut syntax (default:null, automatic (see below)) |
+| `path` | The source for the symlink, the same as in the shortcut syntax (default:null, automatic (see below)) |
| `create` | When true, create parent directories to the link as needed. (default:false) |
| `relink` | Removes the old target if it's a symlink (default:false) |
| `force` | Force removes the old target, file or folder, and forces a new link (default:false) |
-| `relative` | Use a relative path when creating the symlink (default:false, absolute links) |
+| `relative` | Use a relative path to the source when creating the symlink (default:false, absolute links) |
| `glob` | Treat a `*` character as a wildcard, and perform link operations on all of those matches (default:false) |
| `if` | Execute this in your `$SHELL` and only link if it is successful. |
diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py
index 2506237..0b47ac6 100644
--- a/dotbot/plugins/link.py
+++ b/dotbot/plugins/link.py
@@ -84,7 +84,7 @@ class Link(dotbot.Plugin):
success &= self._create(destination)
if not self._exists(os.path.join(self._context.base_directory(), path)):
success = False
- self._log.warning('Nonexistent target %s -> %s' %
+ self._log.warning('Nonexistent source %s -> %s' %
(destination, path))
continue
if force or relink:
@@ -227,10 +227,10 @@ class Link(dotbot.Plugin):
# again, we use absolute_source to check for existence
elif not self._exists(absolute_source):
if self._is_link(link_name):
- self._log.warning('Nonexistent target %s -> %s' %
+ self._log.warning('Nonexistent source %s -> %s' %
(link_name, source))
else:
- self._log.warning('Nonexistent target for %s : %s' %
+ self._log.warning('Nonexistent source for %s : %s' %
(link_name, source))
else:
self._log.lowinfo('Link exists %s -> %s' % (link_name, source))