diff options
-rw-r--r-- | toys/Config.in | 8 | ||||
-rw-r--r-- | toys/toylist.h | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/toys/Config.in b/toys/Config.in index 51b29fa0..570ad4cc 100644 --- a/toys/Config.in +++ b/toys/Config.in @@ -21,6 +21,14 @@ config CATV -t Show tabs as ^I -v Don't use ^x or M-x escapes. +config COUNT + bool "count" + default n + help + usage: count + + Copy stdin to stdout, displaying simple progress indicator to stderr. + config DF bool "df (disk free)" default n diff --git a/toys/toylist.h b/toys/toylist.h index 2f95232f..f20b4f88 100644 --- a/toys/toylist.h +++ b/toys/toylist.h @@ -68,11 +68,12 @@ NEWTOY(toybox, NULL, 0) // The rest of these are alphabetical, for binary search. USE_BZCAT(NEWTOY(bzcat, "", TOYFLAG_USR|TOYFLAG_BIN)) -USE_CATV(NEWTOY(catv, "vte", TOYFLAG_NOFORK|TOYFLAG_USR|TOYFLAG_BIN)) +USE_CATV(NEWTOY(catv, "vte", TOYFLAG_USR|TOYFLAG_BIN)) +USE_COUNT(NEWTOY(count, "", TOYFLAG_USR|TOYFLAG_BIN)) USE_TOYSH(NEWTOY(cd, NULL, TOYFLAG_NOFORK)) USE_DF(NEWTOY(df, "Pkt*a", TOYFLAG_USR|TOYFLAG_SBIN)) USE_TOYSH(NEWTOY(exit, NULL, TOYFLAG_NOFORK)) -USE_HELLO(NEWTOY(hello, NULL, TOYFLAG_NOFORK|TOYFLAG_USR)) +USE_HELLO(NEWTOY(hello, NULL, TOYFLAG_USR)) USE_MKE2FS(NEWTOY(mke2fs, MKE2FS_OPTSTRING, TOYFLAG_SBIN)) USE_ONEIT(NEWTOY(oneit, "+p<1", TOYFLAG_SBIN)) USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN)) |