diff toys/oneit.c @ 304:93223118c813

Option parsing: stopearly is now a ^ prefix (not +), and an option string with no flags auto-enables stopearly (so seq doesn't have to specify it to avoid having negative number arguments eaten by the option parsing logic).
author Rob Landley <rob@landley.net>
date Thu, 26 Jun 2008 22:48:43 -0500
parents 7cb15eae1664
children 2a003d86d805
line wrap: on
line diff
--- a/toys/oneit.c	Sun Jun 22 04:18:39 2008 -0500
+++ b/toys/oneit.c	Thu Jun 26 22:48:43 2008 -0500
@@ -6,7 +6,7 @@
  *
  * Not in SUSv3.
 
-USE_ONEIT(NEWTOY(oneit, "+<1c:p", TOYFLAG_SBIN))
+USE_ONEIT(NEWTOY(oneit, "^<1c:p", TOYFLAG_SBIN))
 
 config ONEIT
 	bool "oneit"