mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for help
This commit is contained in:
parent
bf95c31d4a
commit
a6bdbd5ded
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Help(Configs):
|
||||||
help_commands['-e'] = help_commands['dependees']
|
help_commands['-e'] = help_commands['dependees']
|
||||||
help_commands['-t'] = help_commands['tracking']
|
help_commands['-t'] = help_commands['tracking']
|
||||||
|
|
||||||
|
print(f'Usage: {self.prog_name} [{self.yellow}OPTIONS{self.endc}] [{self.cyan}COMMAND{self.endc}] <packages>\n')
|
||||||
print(f"{self.bold}COMMAND{self.endc}: {self.cyan}{self.command}{self.endc}")
|
print(f"{self.bold}COMMAND{self.endc}: {self.cyan}{self.command}{self.endc}")
|
||||||
print(f"{self.bold}OPTIONS:{self.endc} {self.yellow}{', '.join(self.flags)}{self.endc}\n")
|
print(f"{self.bold}OPTIONS:{self.endc} {self.yellow}{', '.join(self.flags)}{self.endc}\n")
|
||||||
print(f'{self.bold}{self.green}Help: {self.endc}{help_commands[self.command]}\n')
|
print(f'{self.bold}{self.green}Help: {self.endc}{help_commands[self.command]}\n')
|
||||||
|
|
Loading…
Add table
Reference in a new issue