mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
samba-tool: Provide feedback if synopsis is not defined for a command
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
e9f155f52d
commit
4d0ead86e1
@ -39,7 +39,7 @@ class Command(object):
|
|||||||
description = property(_get_description)
|
description = property(_get_description)
|
||||||
|
|
||||||
# synopsis must be defined in all subclasses in order to provide the command usage
|
# synopsis must be defined in all subclasses in order to provide the command usage
|
||||||
synopsis = ""
|
synopsis = "Please provide synopsis for this command."
|
||||||
# long_description is a string describing the command in details
|
# long_description is a string describing the command in details
|
||||||
long_description = ""
|
long_description = ""
|
||||||
takes_args = []
|
takes_args = []
|
||||||
|
Reference in New Issue
Block a user