From 2b06f18474f45e283de05ebb6654312d4458d717 Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Mon, 17 Apr 2023 18:09:58 +0200 Subject: [PATCH] README: fix up command names in how it works section Signed-off-by: Daniel Maslowski --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 568264f4..915780c2 100644 --- a/README.md +++ b/README.md @@ -321,12 +321,12 @@ This AST transformation does the following: - Writes a `main.go` file with a `main()` that calls into the appropriate Go command package based on `argv[0]` or `argv[1]`. -This allows you to take two Go commands, such as Go implementations of `sl` and -`cowsay` and compile them into one binary. +This allows you to take two Go commands, such as Go implementations of `dmesg` +and `strace` and compile them into one binary. Which command is invoked is determined by `argv[0]` or `argv[1]` if `argv[0]` is not recognized. Let's say `bb` is the compiled binary; the following are -equivalent invocations of `sl` and `cowsay`: +equivalent invocations of `dmesg` and `strace`: ```sh (cd ./src/cmd/makebb && go install)