summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-26 13:42:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-26 13:42:42 +0100
commitdb3be7eb3ec5096e279e49bd87dd61c250635735 (patch)
tree5d1fda73a02dcf4e79a4846c0e06c4fe32087e78
parentf2b26188fd4debefb9a93932a919d39bf80be10a (diff)
fix typo : upgradeable -> upgradable
-rw-r--r--src/backend/searchPkg.py2
-rw-r--r--src/frontend/cli/README.md6
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/searchPkg.py b/src/backend/searchPkg.py
index 8c5ea5b..5e8540d 100644
--- a/src/backend/searchPkg.py
+++ b/src/backend/searchPkg.py
@@ -74,7 +74,7 @@ def searchDB(filter, cat = '', pn = '', desc = ''):
LEFT JOIN remote_descriptions AS d ON a.name = d.name AND a.category = d.category
WHERE cat LIKE '%{cat}%' AND pn LIKE '%{pn}%' AND desc LIKE '%{desc}%' {NOVIRT}
AND iv IS NULL''',
- 'upgradeable': f'''SELECT
+ 'upgradable': f'''SELECT
i.category AS cat,
i.name AS pn,
i.version as iv,
diff --git a/src/frontend/cli/README.md b/src/frontend/cli/README.md
index 567db9d..c831afc 100644
--- a/src/frontend/cli/README.md
+++ b/src/frontend/cli/README.md
@@ -238,7 +238,7 @@ Use the -f (--filter) option to select only packages of interest. Possible value
available - search for available packages but not installed
- upgradeable - search for installed packages where installed version is different from available version
+ upgradable - search for installed packages where installed version is different from available version
!!! NOTE !!!:
@@ -251,7 +251,7 @@ To search for all matching '--filter' packages escape it, or surround it with qu
sisyphus search '*' -f available # OK
- sisyphus search '' -f upgradeable # OK
+ sisyphus search '' -f upgradable # OK
To search for all (including source) packages, use the --ebuild option.
@@ -268,7 +268,7 @@ $ sisyphus search [OPTIONS] PACKAGE...
**Options**:
* `-d, --description TEXT`: Match description.
-* `-f, --filter [all|alien|installed|available|upgradeable]`: [default: all]
+* `-f, --filter [all|alien|installed|available|upgradable]`: [default: all]
* `-q`: Short (one line) output.
* `-e, --ebuild`: Search in ebuilds (slower).
* `--help`: Show this message and exit.
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 4ecfb71..df0a125 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -25,7 +25,7 @@ class Filter(str, Enum):
alien = 'alien'
installed = 'installed'
available = 'available'
- upgradeable = 'upgradeable'
+ upgradable = 'upgradable'
@app.command("search")
def search(package: List[str] = typer.Argument(...),
@@ -71,7 +71,7 @@ def search(package: List[str] = typer.Argument(...),
available - search for available packages but not installed
- upgradeable - search for installed packages where installed version is different from available version
+ upgradable - search for installed packages where installed version is different from available version
!!! NOTE !!!:
@@ -84,7 +84,7 @@ def search(package: List[str] = typer.Argument(...),
sisyphus search '*' -f available # OK
- sisyphus search '' -f upgradeable # OK
+ sisyphus search '' -f upgradable # OK
To search for all (including source) packages, use the --ebuild option.