summaryrefslogtreecommitdiff
path: root/usr.bin/tsort/tsort.1
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-11 15:15:22 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-11 15:15:22 +0000
commit936a56aaf15825deb21d951563f65d77cfb21c0d (patch)
treea0c436a0c975dc9d5c9f1d57f2a9848e1aaeac79 /usr.bin/tsort/tsort.1
parent63fe2cd01b9c62242c92d0946b5b6196425be44b (diff)
Clarify performance of tsort -l (hamiltonian circuit is NP-complete).
Diffstat (limited to 'usr.bin/tsort/tsort.1')
-rw-r--r--usr.bin/tsort/tsort.13
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tsort/tsort.1 b/usr.bin/tsort/tsort.1
index d1439c21041..974057e3c7f 100644
--- a/usr.bin/tsort/tsort.1
+++ b/usr.bin/tsort/tsort.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tsort.1,v 1.9 2001/06/25 05:01:21 pvalchev Exp $
+.\" $OpenBSD: tsort.1,v 1.10 2001/07/11 15:15:21 espie Exp $
.\" $NetBSD: tsort.1,v 1.6 1996/01/17 20:37:49 mycroft Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -85,6 +85,7 @@ which holds an ordered list of nodes, to resolve ambiguities.
In case of duplicates, the first entry is chosen.
.It Fl l
Search for and display the longest cycle.
+Can take a very long time, as it may need to solve an NP-complete problem.
.It Fl q
Do not display informational messages about cycles.
This is primarily intended for building libraries, where optimal ordering