From b1a3e9555c188bda73b872316c2c7c5f5d22cc7c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 26 Feb 2023 22:56:51 +0200 Subject: [PATCH] Updated for cli help --- README.rst | 7 ++++--- slpkg/views/cli_menu.py | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index dbc530ce..964e7059 100644 --- a/README.rst +++ b/README.rst @@ -92,9 +92,10 @@ Usage -h, --help Show this message and exit. -v, --version Print version and exit. - Edit the configuration file in the /etc/slpkg/slpkg.toml - or run 'slpkg configs'. - If you need more information try to use slpkg manpage. + If you need more information try to use slpkg manpage. + Extra help for the commands, use: 'slpkg help '. + Configuration file in the /etc/slpkg/slpkg.toml or 'slpkg configs'. + Configuration files diff --git a/slpkg/views/cli_menu.py b/slpkg/views/cli_menu.py index 23f8c8ca..55a0ba38 100644 --- a/slpkg/views/cli_menu.py +++ b/slpkg/views/cli_menu.py @@ -70,9 +70,9 @@ class Usage(Configs): f' {self.yellow}-F, --file-pattern={self.endc}PATTERN Include specific installed files.\n' '\n -h, --help Show this message and exit.\n' ' -v, --version Print version and exit.\n' - "\nConfiguration file in the /etc/slpkg/slpkg.toml or `slpkg configs`.\n" - "If you need more information try to use slpkg manpage.\n" - "Extra help for the commands use: `slpkg help `.") + "\nIf you need more information try to use slpkg manpage.\n" + "Extra help for the commands, use: 'slpkg help '.\n" + "Configuration file in the /etc/slpkg/slpkg.toml or 'slpkg configs'.") print(args) raise SystemExit(status)