diff options
author | pgen <p.gen.progs@gmail.com> | 2019-10-15 23:29:20 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2019-10-15 23:29:20 +0200 |
commit | 1eff407070f604abde21d329b75c61e9d597a609 (patch) | |
tree | 84113e336fa6a374d6f4e2f608ea54d241b15af4 /ctxopt.c | |
parent | b31cee32be6b91ec3a62df223022efaa807e3ab7 (diff) |
Add comments
Diffstat (limited to 'ctxopt.c')
-rw-r--r-- | ctxopt.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -3076,6 +3076,12 @@ ctxopt_new_ctx(char * name, char * opts_specs) bst_search(ctx, &contexts_bst, ctx_compare); } +/* ==================================================== */ +/* Display a usage screen limited to a specific context */ +/* IN: the context name. */ +/* IN: what to do after (continue or exit the program) */ +/* possible values: continue_after, exit_after. */ +/* ==================================================== */ void ctxopt_ctx_disp_usage(char * ctx_name, usage_behaviour action) { @@ -3121,6 +3127,11 @@ ctxopt_ctx_disp_usage(char * ctx_name, usage_behaviour action) exit(EXIT_FAILURE); } +/* ==================================================== */ +/* Display a full usage screen about all contexts. */ +/* IN: what to do after (continue or exit the program) */ +/* possible values: continue_after, exit_after. */ +/* ==================================================== */ void ctxopt_disp_usage(usage_behaviour action) { |