Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\n \t format error in the repaired content #15

Open
Abirdcfly opened this issue Apr 4, 2023 · 0 comments
Open

\n \t format error in the repaired content #15

Abirdcfly opened this issue Apr 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Abirdcfly
Copy link
Owner

diff --git a/internal/cmd/qgo/qgo.go b/internal/cmd/qgo/qgo.go
index 8e053547..5e46b6a8 100644
--- a/internal/cmd/qgo/qgo.go
+++ b/internal/cmd/qgo/qgo.go
@@ -36,14 +36,7 @@ import (
        "golang.org/x/tools/go/packages"
 )

-const help = `
-Commands:
-extract                Extract one-line signature of exported types of
-                       the given package.
-
-                       Functions that have have more than one return
-                       argument or unknown types are skipped.
-`
+const help = "\nCommands:\nextract\t\tExtract one-line signature of exported types of\n\t\t\tthe given package.\n\n\t\t\tFunctions that have more than one return\n\t\t\targument or unknown types are"

 // Even though all of the code is generated, the documentation is copied as is.
 // So for proper measure, include both the CUE and Go licenses.
@Abirdcfly Abirdcfly added the bug Something isn't working label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant