From 5289ecee1c5d7b8bafa4421f623394824a5d1f3f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 2 Oct 2023 08:47:06 -0500 Subject: [PATCH] Promote tsort (and tweak help text). --- toys/{pending => posix}/tsort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename toys/{pending => posix}/tsort.c (98%) diff --git a/toys/pending/tsort.c b/toys/posix/tsort.c similarity index 98% rename from toys/pending/tsort.c rename to toys/posix/tsort.c index 36bdc6af..fc1da2ca 100644 --- a/toys/pending/tsort.c +++ b/toys/posix/tsort.c @@ -8,7 +8,7 @@ USE_TSORT(NEWTOY(tsort, ">1", TOYFLAG_USR|TOYFLAG_BIN)) config TSORT bool "tsort" - default n + default y help usage: tsort [FILE] @@ -16,7 +16,7 @@ config TSORT Read pairs of input strings indicating before/after dependency relationships and find an ordering that respects all dependencies. On success output each - string once to stdout, on failure output cycle to stderr. + string once to stdout, on failure print error and output cycle pairs. */ #include "toys.h" -- 2.39.2