From 707f445620a55e63e0e224fbd955eebcd5b145cb Mon Sep 17 00:00:00 2001 From: Christopher Patton Date: Sat, 30 May 2020 19:27:03 -0700 Subject: [PATCH] Distinguish between helpers and tools in documentation --- README.md | 2 +- library/aur.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2107e6a..5101aca 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The following helpers are supported and automatically selected, if present, in t |name | |Name or list of names of the package(s) to install or upgrade.| |state |**present**, latest |Desired state of the package, 'present' skips operations if the package is already installed.| |upgrade |yes, **no** |Whether or not to upgrade whole system.| -|use |**auto**, yay, pacaur, trizen, pikaur, aurman, makepkg |The helper to use, 'auto' uses the first known helper found and makepkg as a fallback.| +|use |**auto**, yay, pacaur, trizen, pikaur, aurman, makepkg |The tool to use, 'auto' uses the first known helper found and makepkg as a fallback.| |use_args |[] |A list of arguments to pass directly to the used tool. Cannot be used unless use is set to something other than 'auto'.| |aur_only |yes, **no** |Limit helper operation to the AUR.| |skip_pgp_check |yes, **no** |Only valid with makepkg. Skip PGP signatures verification of source file, useful when installing packages without GnuPG properly configured. Cannot be used unless use is set to something other than 'auto'.| diff --git a/library/aur.py b/library/aur.py index 47a643a..8295767 100644 --- a/library/aur.py +++ b/library/aur.py @@ -39,7 +39,7 @@ options: use: description: - - The helper to use, 'auto' uses the first known helper found and makepkg as a fallback. + - The tool to use, 'auto' uses the first known helper found and makepkg as a fallback. default: auto choices: [ auto, yay, pacaur, trizen, pikaur, aurman, makepkg ] @@ -272,7 +272,7 @@ def make_module(): params = module.params if params['use'] == 'auto' and params['use_args']: - module.fail_json(msg="You must specify a helper other than 'auto' to use the 'use_flags' option.") + module.fail_json(msg="You must specify a tool other than 'auto' to use the 'use_flags' option.") if params['use'] != 'makepkg' and params['skip_pgp_check']: module.fail_json(msg="You must use 'makepkg' to use the 'skip_pgp_check' option.") @@ -290,7 +290,7 @@ def make_module(): use = params['use'] if params.get('upgrade', False) and use == 'makepkg': - module.fail_json(msg="Upgrade cannot be used with the helper 'makepkg'.") + module.fail_json(msg="Upgrade cannot be used with the tool 'makepkg'.") return module, use