diff options
author | Explorer09 <explorer09@gmail.com> | 2017-07-20 12:05:25 +0800 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2017-08-24 08:34:23 -0400 |
commit | b115f389b284a13b974bba05c25896feeec716ec (patch) | |
tree | 3af42af79b8eb156f341887cf1a4ad09c9a17e57 /src/main.c | |
parent | a657f0c6f564d2edc6e34e0e9715a95b13bdb304 (diff) |
Hardcode flex name in --help text
Don't use program_name in the description of -T/--trace or -V/--version
option. It's ugly when user invokes flex with a long path like
"/home/username/tools/bin/my-custom-built-flex".
This solution is not long term. If possible, the help text should be
modified so that the "flex" name is no longer needed below the first
"Usage:" line. All translations of help text will need to be updated
as well.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1860,6 +1860,6 @@ void usage (void) " -?\n" " -h, --help produce this help message\n" " -V, --version report %s version\n"), - backing_name, program_name, outfile_path, program_name); + backing_name, "flex", outfile_path, "flex"); } |