Updated for cli help

This commit is contained in:
Dimitris Zlatanidis 2023-02-26 22:56:51 +02:00
parent a6bdbd5ded
commit b1a3e9555c
2 changed files with 7 additions and 6 deletions

View file

@ -92,9 +92,10 @@ Usage
-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.
Edit the configuration file in the /etc/slpkg/slpkg.toml If you need more information try to use slpkg manpage.
or run 'slpkg configs'. Extra help for the commands, use: 'slpkg help <command>'.
If you need more information try to use slpkg manpage. Configuration file in the /etc/slpkg/slpkg.toml or 'slpkg configs'.
Configuration files Configuration files

View file

@ -70,9 +70,9 @@ class Usage(Configs):
f' {self.yellow}-F, --file-pattern={self.endc}PATTERN Include specific installed files.\n' f' {self.yellow}-F, --file-pattern={self.endc}PATTERN Include 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'
"\nConfiguration file in the /etc/slpkg/slpkg.toml or `slpkg configs`.\n" "\nIf you need more information try to use slpkg manpage.\n"
"If you need more information try to use slpkg manpage.\n" "Extra help for the commands, use: 'slpkg help <command>'.\n"
"Extra help for the commands use: `slpkg help <command>`.") "Configuration file in the /etc/slpkg/slpkg.toml or 'slpkg configs'.")
print(args) print(args)
raise SystemExit(status) raise SystemExit(status)