Skip to content

option defaults shown in the help are not adjusted depending on the executable name #343

Description

@l-jonas

I was confused when looking at the fw4 implementation. The main function in this project does this:

if (!strcmp(app, "utpl"))
config.raw_mode = false;

That is, utpl by default expects a template while ucode does not. And while print_usage does use the currently used executable name for showing it in the help, it always prints that the raw mode is the default one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions