doc: add explicit example with ^ and leading 0
authorDoug Goldstein <cardoe@cardoe.com>
Sun, 18 Feb 2018 04:23:27 +0000 (22:23 -0600)
committerDoug Goldstein <cardoe@cardoe.com>
Sun, 18 Feb 2018 04:28:40 +0000 (22:28 -0600)
Since the leading 0 is treated a bit special, its worth it to have an
explicit example to match the above example of the major version being >
0.

src/doc/src/reference/specifying-dependencies.md

index b5044bd73434fed8180298af01920b569e2593fb..c63b5835d922fdfc86a82940ec4f6c80240cfa98 100644 (file)
@@ -42,6 +42,7 @@ be allowed with them:
 ^1.2 := >=1.2.0 <2.0.0
 ^1 := >=1.0.0 <2.0.0
 ^0.2.3 := >=0.2.3 <0.3.0
+^0.2 := >= 0.2.0 < 0.3.0
 ^0.0.3 := >=0.0.3 <0.0.4
 ^0.0 := >=0.0.0 <0.1.0
 ^0 := >=0.0.0 <1.0.0