aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sort.c b/toys/posix/sort.c
index 2f4d49a0..4c9452eb 100644
--- a/toys/posix/sort.c
+++ b/toys/posix/sort.c
@@ -328,7 +328,7 @@ void sort_main(void)
// Was it a flag that can apply to a key?
- if (!temp2 || flag>FLAG_b
+ if (!temp2 || flag>FLAG_x
|| (flag&(FLAG_u|FLAG_c|FLAG_s|FLAG_z)))
{
error_exit("Unknown key option.");