aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/root.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2022-04-02 15:19:21 +0900
committerRyo Nihei <nihei.dev@gmail.com>2022-04-02 15:19:21 +0900
commit180cac37e53692c09763fc7bb49ac9ead44409ed (patch)
treeb103053ffc9d6632897d7f9b0f7f2f158dbc763f /cmd/vartan/root.go
parentRemove --grammar option from vartan-compile command (diff)
downloadcotia-180cac37e53692c09763fc7bb49ac9ead44409ed.tar.gz
cotia-180cac37e53692c09763fc7bb49ac9ead44409ed.tar.xz
Fix help documents
Diffstat (limited to 'cmd/vartan/root.go')
-rw-r--r--cmd/vartan/root.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/vartan/root.go b/cmd/vartan/root.go
index a193577..8d2219d 100644
--- a/cmd/vartan/root.go
+++ b/cmd/vartan/root.go
@@ -6,11 +6,10 @@ import (
var rootCmd = &cobra.Command{
Use: "vartan",
- Short: "Generate a portable parsing table from a grammar",
+ Short: "Generate a portable LALR(1) parsing table from grammar you defined",
Long: `vartan provides two features:
-- Generates a portable parsing table from a grammar.
-- Tokenizes a text stream according to the grammar.
- This feature is primarily aimed at debugging the grammar.`,
+- Generate a portable LALR(1) parsing table from grammar you defined.
+- Parse a text stream according to the grammar.`,
SilenceErrors: true,
SilenceUsage: true,
}