cmd: gpt: fix and tidy up help message
authorEugeniu Rosca <erosca@de.adit-jv.com>
Tue, 30 Apr 2019 02:53:46 +0000 (04:53 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 2 May 2019 16:17:50 +0000 (18:17 +0200)
commitd02660960d78a3d07bdf23dd3b33300779cf74bb
tree1625c81a43cf94c3566e328dfda57ff73834a99e
parent716f919d2da723fae9416ea4ec461c1e29e71de0
cmd: gpt: fix and tidy up help message

Apply the following changes:
 - Guard the 'gpt read' command by 'ifdef CONFIG_CMD_GPT_RENAME',
   since 'gpt read' is not available on CMD_GPT_RENAME=n
 - Prefix the {read,swap,rename} commands with one space for consistency
 - Prefix the 'guid' commands with 'gpt' for consistency

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/gpt.c