summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.