of command groups. Also give up help function pointer in the
structure since it's needed only in leaf nodes of command tree,
and leaf nodes decide about help on their own. Usage function
is still available on all levels.
rafal
(This used to be commit
48568959a86ee60c188b84078eb3872b8e185b6c)
struct net_functable {
const char *name;
+ const char *desc;
int (*fn)(struct net_context *ctx, int argc, const char **argv);
int (*usage)(struct net_context *ctx, int argc, const char **argv);
- int (*help)(struct net_context *ctx, int argc, const char **argv);
};
#endif /* _UTIL_NET_H */