summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-03 22:34:23 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-03 22:37:09 -0500
commit0f078d1763a156993c372a49ae0f8ceefde52444 (patch)
treed3f6bd9c62229e38a795c7124a702a205aa45e35
parent0318548c81d95cc2483aaf44e63f487650a74f87 (diff)
librefetch: partially update the docs
-rwxr-xr-xsrc/librefetch/librefetch8
-rw-r--r--src/librefetch/librefetch.conf.5.ronn5
2 files changed, 8 insertions, 5 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index e963b96..42253b2 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -37,9 +37,11 @@ usage() {
prose "If OUTPUT_FILE isn't specified, it defaults to the non-directory
part of SOURCE_URL, in the current directory."
echo
- prose "In download mode, the glob '*://' is stripped from the beginning
- of SOURCE_URL, and the resulting path is attempted to be
- downloaded from the configured mirror."
+ prose "Unless '-C' is specified, if SOURCE_URL does not begin with the
+ configured mirror, create mode is inhibited."
+ echo
+ prose "In download mode, it simply tries to download SOURCE_URL. At the
+ beginning of a URL, 'libre://' expands to the configured mirror."
echo
prose "In create mode, it looks at a build script, and uses that to
create the source tarball. SOURCE_URL is ignored, except that it
diff --git a/src/librefetch/librefetch.conf.5.ronn b/src/librefetch/librefetch.conf.5.ronn
index 4e59877..7b25400 100644
--- a/src/librefetch/librefetch.conf.5.ronn
+++ b/src/librefetch/librefetch.conf.5.ronn
@@ -25,8 +25,9 @@ If `$XDG_CONFIG_HOME` is not set, a default value is set:
## OPTIONS
* `MIRROR='https://repo.parabolagnulinux.org/other/'`:
- The location to download pre-built source tarball in download
- mode.
+ Files from within this tree will be attempted to be built if
+ downloading them fails. Also, `libre://` expands to this
+ location.
* `DOWNLOADER='/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'`:
The HTTP client to use when downloading pre-built source tarballs
in download mode.