[equo] fixup --help options indentation
This commit is contained in:
128
client/equo.py
128
client/equo.py
@@ -77,13 +77,13 @@ help_opts = [
|
||||
(2, '--force', 2, _('force sync regardless repositories status')),
|
||||
None,
|
||||
(1, 'repo', 1, _('manage your repositories')),
|
||||
(2, 'enable', 2, _('enable given repository')),
|
||||
(2, 'disable', 1, _('disable given repository')),
|
||||
(2, 'add <string>', 1, _('add repository (pass repository string)')),
|
||||
(2, 'remove <id>', 1, _('remove repository')),
|
||||
(2, 'mirrorsort <id>', 0, _('reorder mirrors basing on response time')),
|
||||
(2, 'merge [sources] <dest>', 0, _('merge content of source repos to dest [for developers]')),
|
||||
(3, '--conflicts', 0, _('also remove dependency conflicts during merge')),
|
||||
(2, 'enable', 3, _('enable given repository')),
|
||||
(2, 'disable', 3, _('disable given repository')),
|
||||
(2, 'add <string>', 2, _('add repository (pass repository string)')),
|
||||
(2, 'remove <id>', 2, _('remove repository')),
|
||||
(2, 'mirrorsort <id>', 2, _('reorder mirrors basing on response time')),
|
||||
(2, 'merge [sources] <dest>', 1, _('merge content of source repos to dest [for developers]')),
|
||||
(3, '--conflicts', 1, _('also remove dependency conflicts during merge')),
|
||||
(1, 'notice [repos]', 1, _('repository notice board reader')),
|
||||
(1, 'status', 2, _('show respositories status')),
|
||||
None,
|
||||
@@ -99,45 +99,45 @@ help_opts = [
|
||||
None,
|
||||
(1, 'upgrade', 1, _('update system with the latest available packages')),
|
||||
(2, '--ask', 2, _('ask before making any changes')),
|
||||
(2, '--fetch', 1, _('just download packages')),
|
||||
(2, '--fetch', 2, _('just download packages')),
|
||||
(2, '--pretend', 1, _('only show what would be done')),
|
||||
(2, '--verbose', 1, _('show more details about what is going on')),
|
||||
(2, '--replay', 1, _('reinstall all the packages and their dependencies')),
|
||||
(2, '--empty', 1, _('same as --replay')),
|
||||
(2, '--empty', 2, _('same as --replay')),
|
||||
(2, '--resume', 1, _('resume previously interrupted operations')),
|
||||
(2, '--skipfirst', 1, _('used with --resume, makes the first package to be skipped')),
|
||||
(2, '--multifetch', 1, _('download multiple packages in parallel (default 3)')),
|
||||
(2, '--multifetch=N', 1, _('download N packages in parallel (max 10)')),
|
||||
None,
|
||||
(1, 'security', 1, _('security infrastructure functions')),
|
||||
(2, 'oscheck', 1, _('verify installed files using stored checksums')),
|
||||
(3, '--mtime', 1, _('consider mtime instead of SHA256 (false positives ahead)')),
|
||||
(2, 'oscheck', 2, _('verify installed files using stored checksums')),
|
||||
(3, '--mtime', 2, _('consider mtime instead of SHA256 (false positives ahead)')),
|
||||
(3, '--assimilate', 1, _('update hashes and mtime (useful after editing config files)')),
|
||||
(3, '--reinstall', 1, _('reinstall faulty packages')),
|
||||
(3, '--quiet', 1, _('show less details (useful for scripting)')),
|
||||
(3, '--quiet', 2, _('show less details (useful for scripting)')),
|
||||
(3, '--verbose', 1, _('also list removed files')),
|
||||
(2, 'update', 2, _('download the latest Security Advisories')),
|
||||
(3, '--force', 1, _('force download even if already up-to-date')),
|
||||
(3, '--force', 2, _('force download even if already up-to-date')),
|
||||
(2, 'list', 2, _('list all the available Security Advisories')),
|
||||
(3, '--affected', 1, _('list only affected')),
|
||||
(3, '--unaffected', 1, _('list only unaffected')),
|
||||
(2, 'info', 2, _('show information about provided advisories identifiers')),
|
||||
(2, 'install', 1, _('automatically install all the available security updates')),
|
||||
(2, 'install', 2, _('automatically install all the available security updates')),
|
||||
(3, '--ask', 2, _('ask before making any changes')),
|
||||
(3, '--fetch', 1, _('just download packages')),
|
||||
(3, '--fetch', 2, _('just download packages')),
|
||||
(3, '--pretend', 1, _('just show what would be done')),
|
||||
(3, '--quiet', 1, _('show less details (useful for scripting)')),
|
||||
(3, '--quiet', 2, _('show less details (useful for scripting)')),
|
||||
None,
|
||||
(1, 'install', 1, _('install atoms or binary packages')),
|
||||
(2, '--ask', 2, _('ask before making any changes')),
|
||||
(2, '--pretend', 1, _('just show what would be done')),
|
||||
(2, '--fetch', 1, _('just download packages without doing the install')),
|
||||
(2, '--fetch', 2, _('just download packages without doing the install')),
|
||||
(2, '--nodeps', 1, _('do not pull in any dependency')),
|
||||
(2, '--bdeps', 1, _('also pull in build-time dependencies')),
|
||||
(2, '--bdeps', 2, _('also pull in build-time dependencies')),
|
||||
(2, '--resume', 1, _('resume previously interrupted operations')),
|
||||
(2, '--skipfirst', 1, _('used with --resume, makes the first package in queue to be skipped')),
|
||||
(2, '--clean', 1, _('remove downloaded packages after being used')),
|
||||
(2, '--empty', 1, _('pull all the dependencies in, regardless their state')),
|
||||
(2, '--clean', 2, _('remove downloaded packages after being used')),
|
||||
(2, '--empty', 2, _('pull all the dependencies in, regardless their state')),
|
||||
(2, '--relaxed', 1, _('calm down dependencies resolution algorithm (might be risky)')),
|
||||
(2, '--deep', 2, _('makes dependency rules stricter')),
|
||||
(2, '--verbose', 1, _('show more details about what is going on')),
|
||||
@@ -182,18 +182,18 @@ help_opts = [
|
||||
(2, '--pretend', 1, _('just show what would be done')),
|
||||
None,
|
||||
(1, 'deptest', 2, _('look for unsatisfied dependencies')),
|
||||
(2, '--quiet', 1, _('show less details (useful for scripting)')),
|
||||
(2, '--quiet', 2, _('show less details (useful for scripting)')),
|
||||
(2, '--ask', 2, _('ask before making any changes')),
|
||||
(2, '--pretend', 1, _('just show what would be done')),
|
||||
None,
|
||||
(1, 'unusedpackages', 2, _('look for unused packages (pay attention)')),
|
||||
(2, '--quiet', 1, _('show less details (useful for scripting)')),
|
||||
(2, '--quiet', 2, _('show less details (useful for scripting)')),
|
||||
(2, '--sortbysize', 1, _('sort packages by disk size')),
|
||||
None,
|
||||
(1, 'libtest', 2, _('look for missing libraries')),
|
||||
(2, '--dump', 2, _('dump results to files')),
|
||||
(2, '--listfiles', 1, _('print broken files to stdout')),
|
||||
(2, '--quiet', 1, _('show less details (useful for scripting)')),
|
||||
(2, '--quiet', 2, _('show less details (useful for scripting)')),
|
||||
(2, '--ask', 2, _('ask before making any changes')),
|
||||
(2, '--pretend', 1, _('just show what would be done')),
|
||||
None,
|
||||
@@ -202,23 +202,23 @@ help_opts = [
|
||||
(2, 'update', 2, _('run the configuration files update function')),
|
||||
None,
|
||||
(1, 'query', 2, _('do misc queries on repository and local databases')),
|
||||
(2, 'belongs', 1, _('search from what package a file belongs')),
|
||||
(2, 'belongs', 2, _('search from what package a file belongs')),
|
||||
(2, 'changelog', 1, _('show packages changelog')),
|
||||
(2, 'revdeps', 1, _('search what packages depend on the provided atoms')),
|
||||
(2, 'revdeps', 2, _('search what packages depend on the provided atoms')),
|
||||
(2, 'description', 1, _('search packages by description')),
|
||||
(2, 'files', 2, _('show files owned by the provided atoms')),
|
||||
(2, 'installed', 1, _('search a package into the local database')),
|
||||
(2, 'license', 1, _('show packages owning the provided licenses')),
|
||||
(2, 'license', 2, _('show packages owning the provided licenses')),
|
||||
(2, 'list', 2, _('list packages based on the chosen parameter below')),
|
||||
(3, 'installed', 2, _('list installed packages')),
|
||||
(3, 'available [repos]', 1, _('list available packages')),
|
||||
(2, 'mimetype', 2, _('search packages able to handle given mimetypes')),
|
||||
(2, 'mimetype', 1, _('search packages able to handle given mimetypes')),
|
||||
(3, '--installed', 2, _('search among installed packages')),
|
||||
(2, 'associate', 2, _('associate given file paths to applications able to read them')),
|
||||
(2, 'associate', 1, _('associate given file paths to applications able to read them')),
|
||||
(3, '--installed', 2, _('search among installed packages')),
|
||||
(2, 'needed', 2, _('show runtime libraries needed by the provided atoms')),
|
||||
(2, 'orphans', 1, _('search files that do not belong to any package')),
|
||||
(2, 'removal', 1, _('show the removal tree for the specified atoms')),
|
||||
(2, 'orphans', 2, _('search files that do not belong to any package')),
|
||||
(2, 'removal', 2, _('show the removal tree for the specified atoms')),
|
||||
(2, 'required', 1, _('show atoms needing the provided libraries')),
|
||||
(2, 'sets', 2, _('search available package sets')),
|
||||
(2, 'slot', 2, _('show packages owning the provided slot')),
|
||||
@@ -228,7 +228,7 @@ help_opts = [
|
||||
(2, 'revgraph', 1, _('show reverse depdendencies tree for provided installed atoms')),
|
||||
(3, '--complete', 2, _('include system packages, build deps and circularity information')),
|
||||
(2, '--verbose', 1, _('show more details')),
|
||||
(2, '--quiet', 1, _('print results in a scriptable way')),
|
||||
(2, '--quiet', 2, _('print results in a scriptable way')),
|
||||
None,
|
||||
|
||||
]
|
||||
@@ -258,10 +258,10 @@ help_opts_extended = [
|
||||
(2, 'vacuum', 2, _('remove installed packages repository internal indexes to save disk space')),
|
||||
(2, 'generate', 1, _('generate installed packages database using Source Package Manager repositories')),
|
||||
(2, 'resurrect', 1, _('generate installed packages database using files on the system [last hope]')),
|
||||
(2, 'spmuids', 1, _('regenerate SPM UIDs map (SPM <-> Entropy packages)')),
|
||||
(2, 'spmsync', 1, _('makes Entropy aware of your Source Package Manager updated packages')),
|
||||
(2, 'spmuids', 2, _('regenerate SPM UIDs map (SPM <-> Entropy packages)')),
|
||||
(2, 'spmsync', 2, _('makes Entropy aware of your Source Package Manager updated packages')),
|
||||
(2, 'backup', 2, _('backup the current Entropy installed packages database')),
|
||||
(2, 'restore', 1, _('restore a previously backed up Entropy installed packages database')),
|
||||
(2, 'restore', 2, _('restore a previously backed up Entropy installed packages database')),
|
||||
None,
|
||||
(1, 'community', 1, _('handles community-side features')),
|
||||
|
||||
@@ -269,13 +269,13 @@ help_opts_extended = [
|
||||
(3, 'update', 3, _('scan the System looking for newly compiled packages')),
|
||||
(4, '--seekstore', 2, _('analyze the Entropy Store directory directly')),
|
||||
(4, '--repackage <atoms>', 1, _('repackage the specified atoms')),
|
||||
(4, '--noask', 2, _('do not ask anything except critical things')),
|
||||
(4, '--atoms <atoms>', 1, _('manage only the specified atoms')),
|
||||
(4, '--interactive', 1, _('run in interactive mode (asking things one by one)')),
|
||||
(4, '--noask', 3, _('do not ask anything except critical things')),
|
||||
(4, '--atoms <atoms>', 2, _('manage only the specified atoms')),
|
||||
(4, '--interactive', 2, _('run in interactive mode (asking things one by one)')),
|
||||
(3, 'inject <packages>', 1, _('add binary packages to repository w/o affecting scopes (multipackages)')),
|
||||
(2, 'mirrors', 2, _('community repositories mirrors management functions')),
|
||||
(3, 'sync', 3, _('sync packages, database and also do some tidy')),
|
||||
(4, '--noask', 2, _('do not ask anything except critical things')),
|
||||
(4, '--noask', 3, _('do not ask anything except critical things')),
|
||||
(4, '--syncall', 2, _('sync all the configured repositories')),
|
||||
(3, 'packages-sync', 2, _('sync packages across primary mirrors')),
|
||||
(4, '--ask', 3, _('ask before making any changes')),
|
||||
@@ -299,9 +299,9 @@ help_opts_extended = [
|
||||
|
||||
(3, '--initialize', 2, _('(re)initialize the current repository database')),
|
||||
(4, '--empty', 2, _('do not refill database using packages on mirrors')),
|
||||
(4, '--repo=<repo>', 2, _('(re)create the database for the specified repository')),
|
||||
(4, '--repo=<repo>', 1, _('(re)create the database for the specified repository')),
|
||||
(3, 'bump', 3, _('manually force a revision bump for the current repository database')),
|
||||
(4, '--sync', 3, _('synchronize the database')),
|
||||
(4, '--sync', 2, _('synchronize the database')),
|
||||
(3, 'flushback [branches]', 1, _('flush back old branches packages to current branch')),
|
||||
(3, 'remove', 3, _('remove the provided atoms from the current repository database')),
|
||||
(3, 'multiremove', 2, _('remove the provided injected atoms (all if no atom specified)')),
|
||||
@@ -309,8 +309,8 @@ help_opts_extended = [
|
||||
(3, 'switchbranch <from branch> <to branch>', 2, _('switch to the specified branch the provided atoms (or world)')),
|
||||
(3, 'md5remote', 2, _('verify remote integrity of the provided atoms (or world)')),
|
||||
(3, 'backup', 3, _('backup current repository database')),
|
||||
(3, 'restore', 2, _('restore a previously backed-up repository database')),
|
||||
(3, 'spmuids', 2, _('regenerate SPM UIDs map (SPM <-> Entropy packages)'),),
|
||||
(3, 'restore', 3, _('restore a previously backed-up repository database')),
|
||||
(3, 'spmuids', 3, _('regenerate SPM UIDs map (SPM <-> Entropy packages)'),),
|
||||
|
||||
(3, 'enable <repo>', 2, _('enable the specified repository')),
|
||||
(3, 'disable <repo>', 2, _('disable the specified repository')),
|
||||
@@ -319,18 +319,18 @@ help_opts_extended = [
|
||||
(3, 'package-dep <repo> [atoms]', 1, _('handle packages dependencies')),
|
||||
(3, 'package-tag <repo> <tag-string> [atoms]', 1, _('clone a package inside a repository assigning it an arbitrary tag')),
|
||||
(3, 'move <from> <to> [atoms]', 1, _('move packages from a repository to another')),
|
||||
(4, '--deps', 3, _('pulls dependencies in')),
|
||||
(4, '--deps', 2, _('pulls dependencies in')),
|
||||
(3, 'copy <from> <to> [atoms]', 1, _('copy packages from a repository to another')),
|
||||
(4, '--deps', 3, _('pulls dependencies in')),
|
||||
(4, '--deps', 2, _('pulls dependencies in')),
|
||||
(3, 'default <repo_id>', 2, _('set the default repository')),
|
||||
|
||||
None,
|
||||
|
||||
(2, 'key', 2, _('manage repository digital signatures (OpenGPG)')),
|
||||
(3, 'create [repos]', 1, _('create keypair for repositories and sign packages')),
|
||||
(3, 'delete [repos]', 1, _('delete keypair (and digital signatures) of repository')),
|
||||
(3, 'status [repos]', 1, _('show currently configured keys information for given repositories')),
|
||||
(3, 'sign [repos]', 1, _('sign (or re-sign) packages in repository using currently set keypair')),
|
||||
(3, 'create [repos]', 2, _('create keypair for repositories and sign packages')),
|
||||
(3, 'delete [repos]', 2, _('delete keypair (and digital signatures) of repository')),
|
||||
(3, 'status [repos]', 2, _('show currently configured keys information for given repositories')),
|
||||
(3, 'sign [repos]', 2, _('sign (or re-sign) packages in repository using currently set keypair')),
|
||||
(3, 'import <repo_id> <privkey_path> <pubkey_path>', 1, _('import keypair, bind to given repository')),
|
||||
(3, 'export-public <repo_id> <key_path>', 1, _('export public key of given repository')),
|
||||
(3, 'export-private <repo_id> <key_path>', 1, _('export private key of given repository')),
|
||||
@@ -339,18 +339,18 @@ help_opts_extended = [
|
||||
|
||||
(2, 'query', 2, _('do some searches into community repository databases')),
|
||||
(3, 'belongs', 2, _('show from what package the provided files belong')),
|
||||
(3, 'changelog', 2, _('show packages changelog')),
|
||||
(3, 'changelog', 1, _('show packages changelog')),
|
||||
(3, 'revdeps', 2, _('show what packages depend on the provided atoms')),
|
||||
(3, 'description', 2, _('search packages by description')),
|
||||
(3, 'files', 3, _('show files owned by the provided atoms')),
|
||||
(3, 'list', 3, _('list all the packages in the default repository')),
|
||||
(3, 'needed', 3, _('show runtime libraries needed by the provided atoms')),
|
||||
(3, 'search', 3, _('search packages inside the default repository database')),
|
||||
(3, 'sets', 3, _('search available package sets')),
|
||||
(3, 'tags', 3, _('show packages owning the specified tags')),
|
||||
(3, 'revisions', 3, _('show installed packages owning the specified revisions')),
|
||||
(3, '--verbose', 2, _('show more details')),
|
||||
(3, '--quiet', 3, _('print results in a scriptable way')),
|
||||
(3, 'description', 1, _('search packages by description')),
|
||||
(3, 'files', 2, _('show files owned by the provided atoms')),
|
||||
(3, 'list', 2, _('list all the packages in the default repository')),
|
||||
(3, 'needed', 2, _('show runtime libraries needed by the provided atoms')),
|
||||
(3, 'search', 2, _('search packages inside the default repository database')),
|
||||
(3, 'sets', 2, _('search available package sets')),
|
||||
(3, 'tags', 2, _('show packages owning the specified tags')),
|
||||
(3, 'revisions', 1, _('show installed packages owning the specified revisions')),
|
||||
(3, '--verbose', 1, _('show more details')),
|
||||
(3, '--quiet', 2, _('print results in a scriptable way')),
|
||||
|
||||
None,
|
||||
|
||||
@@ -369,9 +369,9 @@ help_opts_extended = [
|
||||
None,
|
||||
|
||||
(2, 'notice', 2, _('notice board handling functions')),
|
||||
(3, 'add', 3, _('add a news item to the notice board')),
|
||||
(3, 'remove', 3, _('remove a news item from the notice board')),
|
||||
(3, 'read', 3, _('read the current notice board')),
|
||||
(3, 'add', 2, _('add a news item to the notice board')),
|
||||
(3, 'remove', 2, _('remove a news item from the notice board')),
|
||||
(3, 'read', 2, _('read the current notice board')),
|
||||
|
||||
None,
|
||||
|
||||
@@ -382,7 +382,7 @@ help_opts_extended = [
|
||||
(1, 'ugc', 2, _('handles User Generated Content features')),
|
||||
(2, 'login <repository>', 1, _('login against a specified repository')),
|
||||
(2, 'logout <repository>', 1, _('logout from a specified repository')),
|
||||
(3, '--force', 2, _('force action')),
|
||||
(3, '--force', 3, _('force action')),
|
||||
(2, 'documents <repository>', 1, _('manage package documents for the selected repository (comments, files, videos)')),
|
||||
(3, 'get <pkgkey>', 2, _('get available documents for the specified package key (example: x11-libs/qt)')),
|
||||
(3, 'add <pkgkey>', 2, _('add a new document to the specified package key (example: x11-libs/qt)')),
|
||||
@@ -395,7 +395,7 @@ help_opts_extended = [
|
||||
(1, 'cache', 2, _('handles Entropy cache')),
|
||||
(2, 'clean', 2, _('clean Entropy cache')),
|
||||
(2, '--verbose', 1, _('show more details')),
|
||||
(2, '--quiet', 1, _('print results in a scriptable way')),
|
||||
(2, '--quiet', 2, _('print results in a scriptable way')),
|
||||
None,
|
||||
(1, 'cleanup', 2, _('remove downloaded packages and clean temp. directories')),
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user