diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-09-21 18:13:39 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-09-21 18:14:01 +0000 |
| commit | 15bed0db4085f51f223f7193eede41a112b71c82 (patch) | |
| tree | 90ab4a86fe26fd0682581a5c587ca307c8ae0aad /Src/utils.c | |
| parent | 41736: NO_INTERACTIVE_COMMENTS in $(...) (diff) | |
| download | zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar.gz zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar.bz2 zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar.lz zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar.xz zsh-15bed0db4085f51f223f7193eede41a112b71c82.tar.zst zsh-15bed0db4085f51f223f7193eede41a112b71c82.zip | |
unposted (cf. 41707): internal: Document the count==0 case of checkrmall().
Diffstat (limited to 'Src/utils.c')
| -rw-r--r-- | Src/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index 70aad396a..0d71dda09 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2724,8 +2724,10 @@ checkrmall(char *s) else if (count > 0) fprintf(shout, "zsh: sure you want to delete all %d files in ", count); - else + else { + /* We don't know how many files the glob will expand to; see 41707. */ fprintf(shout, "zsh: sure you want to delete all the files in "); + } nicezputs(s, shout); if(isset(RMSTARWAIT)) { fputs("? (waiting ten seconds)", shout); |
