Updated for help menu

This commit is contained in:
Dimitris Zlatanidis 2023-01-23 21:20:28 +02:00
parent 4a2789c628
commit ae18608e83
3 changed files with 4 additions and 3 deletions

View file

@ -90,6 +90,7 @@ Usage
--no-silent Disable silent mode. --no-silent Disable silent mode.
--directory=PATH Download files to a specific path. --directory=PATH Download files to a specific path.
--pkg-version Print the repository package version. --pkg-version Print the repository package version.
--file-pattern=PATTERN Search for specific installed files.
-h, --help Show this message and exit. -h, --help Show this message and exit.
-v, --version Print version and exit. -v, --version Print version and exit.

View file

@ -156,8 +156,8 @@ Print the repository package version. (to be used with: -e, dependees, -t, track
.P .P
--file-pattern=PATTERN --file-pattern=PATTERN
.RS .RS
Search for specific files with a pattern, such as: slpkg -f '' --file-pattern='*', Search for specific installed files with a pattern, such as: slpkg -f 'python' --file-pattern='*',
prints all installed packages, not only the SBo packages. (to be used with: -f, find) prints all installed packages that include the name 'python', not only the SBo packages. (to be used with: -f, find)
.RE .RE
.P .P
-h | --help -h | --help

View file

@ -66,7 +66,7 @@ class Usage(Configs):
f' {self.yellow}--no-silent{self.endc} Disable silent mode.\n' 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}--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}--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' '\n -h, --help Show this message and exit.\n'
' -v, --version Print version and exit.\n' ' -v, --version Print version and exit.\n'
'\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n' '\nEdit the configuration file in the /etc/slpkg/slpkg.toml \n'