diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-06-21 09:18:23 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-06-21 09:18:23 +0000 |
commit | edccbf510ffa3a99f132942c57e210fec112d12d (patch) | |
tree | 372d9ed34e7b51334fa57af12653e1a721895827 /python-updater | |
parent | Fixed veinfo. (diff) | |
download | python-updater-edccbf510ffa3a99f132942c57e210fec112d12d.tar.gz python-updater-edccbf510ffa3a99f132942c57e210fec112d12d.tar.bz2 python-updater-edccbf510ffa3a99f132942c57e210fec112d12d.zip |
List checks in help output, make indenting nicer. Cosmetics.
Diffstat (limited to 'python-updater')
-rwxr-xr-x | python-updater | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/python-updater b/python-updater index f6d89c9..e41e784 100755 --- a/python-updater +++ b/python-updater @@ -73,17 +73,29 @@ Options: Ignore versions when remerging packages (still respects SLOTs) -P PM, --package-manager PM - Select between ${SUPPORTED_PMS} [default: portage] + Use package manager PM, where PM can be one of: +$(for p in ${SUPPORTED_PMS} ; do +echo -ne $'\t\t '\* ${p} +if [[ ${p} == portage ]]; then + echo ' (Default)' +else + echo +fi +done) -c CMD, --command CMD Pipe found packages to command CMD instead of invoking package manager. Only for debug and script use. -eCHECK --enable-CHECK - Enable CHECK + Enable CHECK where CHECK can be one of: + * eclass (Disabled by default) + * pylibdir (Enabled by default) + * soname (Enabled by default) + * manual (Enabled by default) -dCHECK --disable-CHECK - Disable CHECK + Disable CHECK. See --enable option for a list of checks -See CHECKS section in the manpage for a list of checks and EXAMPLES section to -learn how to use them. +See CHECKS section in the manpage for explanations about checks and +EXAMPLES section to learn how to use them. EOF_USAGE } @@ -330,8 +342,9 @@ for content in `find ${PKG_DBDIR} -name CONTENTS`; do PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" eindent einfo "Adding to list: ${CATPKGVER}" + eindent veinfo 1 "check: manual [Added to list manually]" - eoutdent + eoutdent && eoutdent continue fi @@ -345,8 +358,9 @@ for content in `find ${PKG_DBDIR} -name CONTENTS`; do PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" eindent einfo "Adding to list: ${CATPKGVER}" + eindent veinfo 1 "check: pylibdir [ Installed file under old python library directory ]" - eoutdent + eoutdent && eoutdent continue fi fi @@ -358,10 +372,11 @@ for content in `find ${PKG_DBDIR} -name CONTENTS`; do PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" eindent einfo "Adding to list: ${CATPKGVER}" + eindent veinfo 1 "check: soname [ Libraries linked to old libpython found:" veinfo 1 "${broken_libs}" veinfo 1 "]" - eoutdent + eoutdent && eoutdent fi fi @@ -371,8 +386,9 @@ for content in `find ${PKG_DBDIR} -name CONTENTS`; do PKGS_TO_REMERGE="${PKGS_TO_REMERGE} ${CATPKGVER}" eindent einfo "Adding to list: ${CATPKGVER}" + eindent veinfo 1 "check: environ [ Ebuild set PYVER=${OLD_PY_VER} ]" - eoutdent + eoutdent && eoutdent continue fi fi |