summaryrefslogtreecommitdiff
path: root/src/frontend/cli
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 /src/frontend/cli
parentf2b26188fd4debefb9a93932a919d39bf80be10a (diff)
fix typo : upgradeable -> upgradable
Diffstat (limited to 'src/frontend/cli')
-rw-r--r--src/frontend/cli/README.md6
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py6
2 files changed, 6 insertions, 6 deletions
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.