lib

morphux C utility library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/lib

commit 0be6ed7874980f979125d6b2c8762192f2a9b11e
parent d7b63055f6f43680ffe9f83f6895e67346fe5d96
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Tue, 17 Jan 2017 18:34:03 +0100

Add(Comment): Comments on help function

Diffstat:
Msrc/m_args.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/m_args.c b/src/m_args.c @@ -101,6 +101,10 @@ u32_t read_opt(const int ac, const char **av, const margs_t *args) { return ret; } +/*! + * \brief Print helps with a list of argument + * \param args List of arguments to print + */ static void opt_help(const margs_t *args) { m_info("Help:\n"); for (u32_t i = 0; args[i].opt != 0; i++) {