Actually name the switches "--null-in" and out

These were officially called "--null-input", but I just used
"--null-in" everywhere, which worked because getopt allows unambiguous abbreviations.

But since *I* couldn't keep it straight and the "put" is just
superfluous, let's remove it.
This commit is contained in:
Fabian Homborg 2021-09-15 18:25:23 +02:00
parent 0ff25d581c
commit 39d4a7d13a

View file

@ -314,8 +314,8 @@ static wcstring construct_short_opts(options_t *opts) { //!OCLINT(high npath co
// Remember: adjust share/completions/string.fish when `string` options change
static const struct woption long_options[] = {
{L"quiet", no_argument, nullptr, 'q'},
{L"null-input", no_argument, nullptr, 'z'},
{L"null-output", no_argument, nullptr, 'Z'},
{L"null-in", no_argument, nullptr, 'z'},
{L"null-out", no_argument, nullptr, 'Z'},
{L"perm", required_argument, nullptr, 'p'},
{L"type", required_argument, nullptr, 't'},
{L"invert", required_argument, nullptr, 't'},