summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWayne Scott <wsc9tt@gmail.com>2023-07-22 05:55:58 -0400
committerGitHub <noreply@github.com>2023-07-22 05:55:58 -0400
commitd91b3f5188e840e56e8ff81d4ab3807ab73e1d35 (patch)
tree083896fd4e71b8102995b866bc30f4777b126160
parent44cf900b78f7a9e6a838c82be38ddad3c0c60a25 (diff)
downloadbfs-d91b3f5188e840e56e8ff81d4ab3807ab73e1d35.tar.xz
README.md: fix reversed examples
-rw-r--r--README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index bd1d46c..9a914a1 100644
--- a/README.md
+++ b/README.md
@@ -79,29 +79,29 @@ On the other hand, `bfs` lists files from shallowest to deepest, so you never ha
<td width="506" valign="top">
```console
-$ find haystack
+$ bfs haystack
haystack
haystack/deep
-haystack/deep/1
-haystack/deep/1/2
-haystack/deep/1/2/3
-haystack/deep/1/2/3/4
-...
haystack/shallow
+haystack/deep/1
haystack/shallow/needle
+...
```
</td>
<td width="506" valign="top">
```console
-$ bfs haystack
+$ find haystack
haystack
haystack/deep
-haystack/shallow
haystack/deep/1
-haystack/shallow/needle
+haystack/deep/1/2
+haystack/deep/1/2/3
+haystack/deep/1/2/3/4
...
+haystack/shallow
+haystack/shallow/needle
```
</td>