commit | 793a98eaeea6cc2ef935d6292976b4c1b5ce7f0d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Nov 18 14:05:20 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 13 11:51:24 2023 -0500 |
tree | 90955cdb3d121e37567fe4226f9862566220af57 | |
parent | 9236852ce9561d16de0b03df304ab4113173682a [diff] |
command: Introduce functions to obtain command arguments Add some functions which provide an argument to a command, or NULL if the argument does not exist. Use the same numbering as argv[] since it seems less confusing than the previous idea. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Tom Rini <trini@konsulko.com>