diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-09-26 08:45:06 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-11-26 08:33:40 +0000 |
commit | 676aaf23c33bf21d492ed9354592d12f1225126e (patch) | |
tree | 267202a77bbcef9e7347ffe642fd0df2b89ce874 | |
parent | 067f570f23c16dd1b151a3507d344d870457efa8 (diff) | |
download | zsh-676aaf23c33bf21d492ed9354592d12f1225126e.tar.gz zsh-676aaf23c33bf21d492ed9354592d12f1225126e.tar.xz zsh-676aaf23c33bf21d492ed9354592d12f1225126e.zip |
49449: _zstat: Don't offer -o after -s, since -s is ignored when both -s and -o are specified.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_stat | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 9cfc61dd7..d093ffb83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2021-11-26 Daniel Shahaf <d.s@daniel.shahaf.name> + * 49449: Completion/Unix/Command/_stat: _zstat: Don't offer -o + after -s, since -s is ignored when both -s and -o are specified. + * 47599 (tweaked): New test for '{foo,bar}' in command position 2021-11-24 Oliver Kiddle <opk@zsh.org> diff --git a/Completion/Unix/Command/_stat b/Completion/Unix/Command/_stat index 03b4552de..03abe88a3 100644 --- a/Completion/Unix/Command/_stat +++ b/Completion/Unix/Command/_stat @@ -29,7 +29,7 @@ case $variant in '(-n)-N[never show names of files]' '-o[print file modes in octal rather than decimal]' '-r[print raw data]' - '-s[print mode, UID, GID, and times as strings]' + '(-o)-s[print mode, UID, GID, and times as strings]' '(-T)-t[always show type names]' '(-t)-T[never show type names]' '*: :_files' |