diff --git a/README.rst b/README.rst index 5217666d..8ab51c51 100644 --- a/README.rst +++ b/README.rst @@ -90,6 +90,7 @@ Usage --no-silent Disable silent mode. --directory=PATH Download files to a specific path. --pkg-version Print the repository package version. + --file-pattern=PATTERN Search for specific installed files. -h, --help Show this message and exit. -v, --version Print version and exit. diff --git a/man/slpkg.1 b/man/slpkg.1 index c9ccad7c..16d547e5 100644 --- a/man/slpkg.1 +++ b/man/slpkg.1 @@ -156,8 +156,8 @@ Print the repository package version. (to be used with: -e, dependees, -t, track .P --file-pattern=PATTERN .RS -Search for specific files with a pattern, such as: slpkg -f '' --file-pattern='*', -prints all installed packages, not only the SBo packages. (to be used with: -f, find) +Search for specific installed files with a pattern, such as: slpkg -f 'python' --file-pattern='*', +prints all installed packages that include the name 'python', not only the SBo packages. (to be used with: -f, find) .RE .P -h | --help diff --git a/slpkg/views/cli_menu.py b/slpkg/views/cli_menu.py index 248e4f1c..6ba9fabb 100644 --- a/slpkg/views/cli_menu.py +++ b/slpkg/views/cli_menu.py @@ -66,7 +66,7 @@ class Usage(Configs): f' {self.yellow}--no-silent{self.endc} Disable silent mode.\n' f' {self.yellow}--directory={self.endc}PATH Download files to a specific path.\n' f' {self.yellow}--pkg-version{self.endc} Print the repository package version.\n' - f' {self.yellow}--file-pattern={self.endc}PATTERN Search for specific files with pattern.\n' + f' {self.yellow}--file-pattern={self.endc}PATTERN Search for specific installed files.\n' '\n -h, --help Show this message and exit.\n' ' -v, --version Print version and exit.\n' '\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n'