Skip to content

Commit daa0228

Browse files
committed
Clearer intetion of what dub add-local or path does, and updated dub add pkg:subpkg definition
1 parent 2dd04fe commit daa0228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/advanced_usage.dt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ block body
3434

3535
dl
3636
dt <code>dub add-path</code>
37-
dd Adds a local search directory. All direct subdirectories will be searched for packages. Local search directories are preferred over packages downloaded from the registry.
37+
dd Adds a local search directory. All direct subdirectories will be searched for packages. Local search directories are manual overrides over the packages downloaded from the registry, so they will always be searched before looking into the registry.
3838

3939
dt <code>dub add-local</code>
4040
dd Similar to the above, but only adds a single package directory.
@@ -52,7 +52,7 @@ block body
5252

5353
h2#subpkg Managing subpackages
5454

55-
p For adding subpackages in your project, execute <code> dub add &lt;packagename&gt;:&lt;subpackage&gt; </code>
55+
p For adding subpackages from the registry, execute <code> dub add &lt;packagename&gt;:&lt;subpackage&gt; </code>
5656

5757
p If you need to compile a subpackage only, use <code> dub build :&lt;subpackage&gt; </code>
5858

0 commit comments

Comments
 (0)