Extract usage information definition to method

Signed-off-by: JWhy <jwhy@jwhy.de>