mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 15:21:16 +02:00
43546: "typeset -p" should show -U flag
This commit is contained in:
parent
67ce7c2bf8
commit
a75b47973d
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-09-25 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Stephane: 43546: "typeset -p" should show presence of -U
|
||||
option.
|
||||
|
||||
2018-09-24 dana <dana@dana.is>
|
||||
|
||||
* Takeshi Banse: users/23642: Completion/Unix/Type/_files: Revert
|
||||
|
|
|
@ -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(' ');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue