Mercurial > hg > toybox
comparison toys/seq.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 | 8350d13fba01 |
children | 15bad33d5ded |
comparison
equal
deleted
inserted
replaced
303:b8f6dd7cf7f7 | 304:93223118c813 |
---|---|
4 * | 4 * |
5 * Copyright 2006 Rob Landley <rob@landley.net> | 5 * Copyright 2006 Rob Landley <rob@landley.net> |
6 * | 6 * |
7 * Not in SUSv3. (Don't ask me why not.) | 7 * Not in SUSv3. (Don't ask me why not.) |
8 | 8 |
9 USE_SEQ(NEWTOY(seq, "<1>3?+", TOYFLAG_USR|TOYFLAG_BIN)) | 9 USE_SEQ(NEWTOY(seq, "<1>3?", TOYFLAG_USR|TOYFLAG_BIN)) |
10 | 10 |
11 config SEQ | 11 config SEQ |
12 bool "seq" | 12 bool "seq" |
13 default y | 13 default y |
14 help | 14 help |