Skip to content
Commit 7c81ee9d authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Fabio Baltieri
Browse files

pcie: shell: Add help and argument check



Use SHELL_CMD_ARG() for argument check and add help, looking like:

...

$ pcie -h
  pcie - PCI(e) device information
  Subcommands:
    ls  :List PCIE devices
         Usage: ls [bus:device:function] [dump]

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent d46c7595
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment