Permalink
Browse files

Use "path" instead of "url" in the opam-pin manpage to avoid misleadi…

…ng the user, opam pin works only with paths in the filesystem
  • Loading branch information...
1 parent 757bd17 commit 1bae88a4d1d6e79f62e35a7d2ef60e91a5e45754 Vincent Bernardoff committed Sep 24, 2012
Showing with 9 additions and 9 deletions.
  1. +4 −4 doc/man-src/opam-pin.md
  2. +5 −5 doc/man/opam-pin.1
View
8 doc/man-src/opam-pin.md
@@ -10,7 +10,7 @@ opam-pin - Pin a package to a specific version
*opam pin* \<package\> \<version\>
-*opam pin* \<package\> \<url\>
+*opam pin* \<package\> \<path\>
*opam pin* \<package\> none
@@ -29,10 +29,10 @@ specific source path for installing and upgrading the package. Using
\<version\>
: Pin the selected package to a specific version.
-\<url\>
-: Use the specified url for installing or upgrading the package. This
+\<path\>
+: Use the specified path for installing or upgrading the package. This
means that from now on, *opam install* and *opam upgrade* will use the
- specified url to install (respectively upgrade) the package.
+ specified path to install (respectively upgrade) the package.
none
: Unpin the package, i.e. use the default sources and version for the
View
10 doc/man/opam-pin.1
@@ -6,7 +6,7 @@ opam-pin - Pin a package to a specific version
.PP
\f[I]opam pin\f[] <package> <version>
.PP
-\f[I]opam pin\f[] <package> <url>
+\f[I]opam pin\f[] <package> <path>
.PP
\f[I]opam pin\f[] <package> none
.SH DESCRIPTION
@@ -27,11 +27,11 @@ Pin the selected package to a specific version.
.RS
.RE
.TP
-.B <url>
-Use the specified url for installing or upgrading the package.
+.B <path>
+Use the specified path for installing or upgrading the package.
This means that from now on, \f[I]opam install\f[] and \f[I]opam
-upgrade\f[] will use the specified url to install (respectively upgrade)
-the package.
+upgrade\f[] will use the specified path to install (respectively
+upgrade) the package.
.RS
.RE
.TP

0 comments on commit 1bae88a

Please sign in to comment.