summaryrefslogtreecommitdiff
path: root/utils/hp2ps
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-09-15 23:20:10 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-15 23:22:13 +0200
commit325efac29827447402ad93fe99578fd791ffb822 (patch)
tree0710f60d4bd3c9ecde90d7fef8782d7e6900fa76 /utils/hp2ps
parent14c4090e384d9ac5bf434a8a77bbf552bf463023 (diff)
downloadhaskell-325efac29827447402ad93fe99578fd791ffb822.tar.gz
Fix `hp2ps -i-`
From the help text: -i[+|-] sort by identifier string (-i+ gives greatest on top) Found by David Binderman.
Diffstat (limited to 'utils/hp2ps')
-rw-r--r--utils/hp2ps/Main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/hp2ps/Main.c b/utils/hp2ps/Main.c
index 74d1bce05b..88f9b08d46 100644
--- a/utils/hp2ps/Main.c
+++ b/utils/hp2ps/Main.c
@@ -86,6 +86,7 @@ int main(int argc, char *argv[])
switch( *(*argv + 1) ) {
case '-':
iflag = -1;
+ break;
case '+':
default:
iflag = 1;