aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-06-02 09:58:51 -0500
committerRob Landley <rob@landley.net>2015-06-02 09:58:51 -0500
commit204bd961aec4a5787db109cd3ad9447841cb6922 (patch)
tree6983ea2537520beb2d6a4e3e393f57c30b1c5cea
parent0bd81ca4dd04b4eb9020b2e05976417f556349da (diff)
downloadtoybox-204bd961aec4a5787db109cd3ad9447841cb6922.tar.gz
Make "printf --" and "printf ---" work.
-rw-r--r--toys/posix/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/printf.c b/toys/posix/printf.c
index 30ae931d..365b8f36 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"