From 204bd961aec4a5787db109cd3ad9447841cb6922 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 2 Jun 2015 09:58:51 -0500 Subject: [PATCH] Make "printf --" and "printf ---" work. --- toys/posix/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/posix/printf.c b/toys/posix/printf.c index 30ae931..365b8f3 100644 --- a/toys/posix/printf.c +++ b/toys/posix/printf.c @@ -7,7 +7,7 @@ * * todo: *m$ ala printf("%1$d:%2$.*3$d:%4$.*3$d\n", hour, min, precision, sec); -USE_PRINTF(NEWTOY(printf, "<1", TOYFLAG_USR|TOYFLAG_BIN)) +USE_PRINTF(NEWTOY(printf, "<1?^", TOYFLAG_USR|TOYFLAG_BIN)) config PRINTF bool "printf" -- 2.7.4