summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-24 23:57:16 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-24 23:57:16 -0600
commite398216226767990c0453b4c2b9ef49b75473f19 (patch)
treeb0d196546c78840bb9d451de8df10fb17adb25c6 /src
parentc2cd219b2077de4ec3c6659b23f60492f26c8737 (diff)
libredbdiff: Fix some usages of `print` and `prose`.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/abslibre-tools/libredbdiff19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff
index 2bc8a5a..f87c579 100755
--- a/src/abslibre-tools/libredbdiff
+++ b/src/abslibre-tools/libredbdiff
@@ -244,6 +244,7 @@ usage() {
all configured Parabola repositories are compared. A Parabola
repository name can be specified as argument to compare only
packages in that repository."
+ echo
prose "The default mode of operation is to download/update all necessary
files for comparison, but not compare them. Specify the \`-n\`
flag to not download anything, but to compare already downloaded
@@ -253,14 +254,16 @@ usage() {
flag '-n' "Don't update anything, just compare already downloaded files."
flag '-h' 'Show this message'
echo
- print "Output format:
- type_character parabola_pkgname (arch_pkgname) parabola_pkgver - (arch_pkgver)"
+ print "Output format:"
+ print "type_character parabola_pkgname (arch_pkgname) parabola_pkgver - (arch_pkgver)"
echo
- print "Type characters:
- = Arch package with the same pkgname and greater pkgver was found
- p Arch package with pkgname equal to a provide and greater pkgver was found
- In this case arch_pkgname is a provide of parabola_pkgname
- o No Arch package with the same pkgname or with pkgname equal to a provide was found"
+ print "Type characters:"
+ flag '=' "Arch package with the same pkgname and greater pkgver was found"
+ flag 'p' "Arch package with pkgname equal to a provide and greater
+ pkgver was found In this case arch_pkgname is a provide of
+ parabola_pkgname"
+ flag 'o' "No Arch package with the same pkgname or with pkgname equal to
+ a provide was found"
}
main() {
@@ -375,7 +378,7 @@ package data has failed. Exiting."
print_cmp "${repo_arg}"
else
for repo in ${repos} ; do
- print "[$repo]"
+ echo "[$repo]"
print_cmp "$repo"
done
fi