diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:26:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-07 00:26:30 -0400 |
| commit | 3f16e95127de7a5eb58801406435f4fd8f5712f6 (patch) | |
| tree | 9ef1ae104269ba1040c05eebc279f92f97fae492 /compile.c | |
| parent | c454bfa3c4c11b30aa03cde266e76466d2971c20 (diff) | |
USAGE and HELP need an underscore prefix so they're not imported into
other files. Also fixed up dependency tool so it works good now
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3113,9 +3113,9 @@ CORD compile_cli_arg_call(env_t *env, CORD fn_name, type_t *fn_type) { auto fn_info = Match(fn_type, FunctionType); - binding_t *usage_binding = get_binding(env, "USAGE"); + binding_t *usage_binding = get_binding(env, "_USAGE"); CORD usage_code = usage_binding ? usage_binding->code : "usage"; - binding_t *help_binding = get_binding(env, "HELP"); + binding_t *help_binding = get_binding(env, "_HELP"); CORD help_code = help_binding ? help_binding->code : usage_code; if (!fn_info->args) { |
