summaryrefslogtreecommitdiff
path: root/Src/subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/subst.c b/Src/subst.c
index ed3f4a82b..b98ddaf02 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -1979,6 +1979,10 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags,
case 'n':
sortit |= SORTIT_NUMERICALLY;
break;
+ case '-':
+ case Dash:
+ sortit |= SORTIT_NUMERICALLY_SIGNED;
+ break;
case 'a':
sortit |= SORTIT_SOMEHOW;
indord = 1;