diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-19 00:26:59 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-19 00:26:59 -0400 |
| commit | 56c5a1da4de4a7511882b2a9d4bae608aca1e61b (patch) | |
| tree | e041ad1554d1f3c66f06e199ee9a93ff74d91f86 /args.c | |
| parent | be014d7b8df14596530ef8f9e7d7a8afae281c5c (diff) | |
change allow-free-result to exact-match
Diffstat (limited to 'args.c')
| -rw-r--r-- | args.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,14 +9,14 @@ void parse_args(client_state* state, int argc, char* argv[]) { static struct option long_opts[] = { {"lines", required_argument, 0, 'l'}, {"center", no_argument, 0, 'c'}, - {"allow-free-result", no_argument, 0, 'a'}, + {"exact-match", no_argument, 0, 'e'}, {"verbose", no_argument, 0, 'v'}, {0, 0, 0, 0} }; int opt; int long_index = 0; - while ((opt = getopt_long(argc, argv, "l:cav", long_opts, &long_index)) != -1) { + while ((opt = getopt_long(argc, argv, "l:cev", long_opts, &long_index)) != -1) { switch (opt) { case 'l': state->lines = atoi(optarg); @@ -25,7 +25,7 @@ void parse_args(client_state* state, int argc, char* argv[]) { state->center = true; break; case 'a': - state->allow_free_result = true; + state->exact_match = true; break; case 'v': state->verbose = true; |
