Skip to content
Extraits de code Groupes Projets

Resolve "Man pages"

Fusionnées Kubat a demandé de fusionner man vers master
6 files
+ 41
10
Comparer les modifications
  • Côte à côte
  • En ligne

Fichiers

+ 4
4
@@ -16,12 +16,12 @@ typedef void (*lkt_cmd_callback)(struct lkt_cmd_args *);
struct lkt_cmd_opt {
const char *name;
lkt_cmd_callback call;
const char *help;
struct lkt_cmd_opt *sub;
};
/* Parse the command line with the list of options. No parameter may be NULL.
Does not return. */
noreturn void lkt_cmd_parse(struct lkt_cmd_opt *opts, int argc, const char **argv, void (*help)(void));
noreturn void lkt_cmd_parse(struct lkt_cmd_opt *opts, int argc, const char **argv);
void lkt_cmd_help(struct lkt_cmd_opt *opts, const char *name);
/* Must be setted for the lkt_cmd_parse function to display the correct help
in case of errors. */
extern const char *executable_name;
Chargement en cours