From e398216226767990c0453b4c2b9ef49b75473f19 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 24 May 2015 23:57:16 -0600 Subject: libredbdiff: Fix some usages of `print` and `prose`. --- src/abslibre-tools/libredbdiff | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src') 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 -- cgit v1.2.2