diff options
| author | Stephane Chazelas <stephane.chazelas@gmail.com> | 2018-09-24 22:05:50 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-09-25 10:06:18 +0100 |
| commit | a75b47973d65b92c33078e06ec080a945e076943 (patch) | |
| tree | c92782b685f601fd4632ba7922a8d3494afa7a36 /Src | |
| parent | users/23642: Revert _files change from workers/42984 (diff) | |
| download | zsh-a75b47973d65b92c33078e06ec080a945e076943.tar zsh-a75b47973d65b92c33078e06ec080a945e076943.tar.gz zsh-a75b47973d65b92c33078e06ec080a945e076943.tar.bz2 zsh-a75b47973d65b92c33078e06ec080a945e076943.tar.lz zsh-a75b47973d65b92c33078e06ec080a945e076943.tar.xz zsh-a75b47973d65b92c33078e06ec080a945e076943.tar.zst zsh-a75b47973d65b92c33078e06ec080a945e076943.zip | |
43546: "typeset -p" should show -U flag
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/params.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c index a1c299f60..f7ecff32a 100644 --- a/Src/params.c +++ b/Src/params.c @@ -5861,6 +5861,13 @@ printparamnode(HashNode hn, int printflags) } } } + if (p->node.flags & PM_UNIQUE) { + if (!doneminus) { + putchar('-'); + doneminus = 1; + } + putchar('U'); + } if (doneminus) putchar(' '); } |
