From 0f078d1763a156993c372a49ae0f8ceefde52444 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 3 Jan 2014 22:34:23 -0500 Subject: librefetch: partially update the docs --- src/librefetch/librefetch | 8 +++++--- src/librefetch/librefetch.conf.5.ronn | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'src') 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. -- cgit v1.2.3-54-g00ecf