Better help

master
Salvo 'LtWorf' Tomaselli 2020-08-24 19:48:17 +07:00
parent 15026ddb0d
commit 8ef54855d7
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF
1 changed files with 8 additions and 1 deletions

@ -165,12 +165,19 @@ def help(command: str) -> None:
p = command.split(' ', 1) p = command.split(' ', 1)
if len(p) == 1: if len(p) == 1:
print( print(
'HELP command\n' 'HELP [command]\n'
'\n'
'Comments are obtained starting with a ;\n'
'\n'
'To execute a query:\n' 'To execute a query:\n'
'[relation =] query\n' '[relation =] query\n'
'\n'
'If the 1st part is omitted, the result will be stored in the relation last_.\n' 'If the 1st part is omitted, the result will be stored in the relation last_.\n'
'\n'
'To prevent from printing the relation, append a ; to the end of the query.\n' 'To prevent from printing the relation, append a ; to the end of the query.\n'
'\n'
'To insert relational operators, type _OPNAME, they will be internally replaced with the correct symbol.\n' 'To insert relational operators, type _OPNAME, they will be internally replaced with the correct symbol.\n'
'\n'
'Rember: completion is enabled and can be very helpful if you can\'t remember something.' 'Rember: completion is enabled and can be very helpful if you can\'t remember something.'
) )
return return