Skip to content

Commit

Permalink
Update all doc for release 1.1 (#541)
Browse files Browse the repository at this point in the history
* Update all doc for release 1.1

* Update all doc for release 1.1

* make vatz to VATZ for the comment at
- #541 (comment)
- #541 (comment)

* Make `Trace` to `trace`

* Make `Trace` to `trace`

* Update for doc

* Update to unify capitalize in `--help` flag

* Update typos

* Update for the comment
- #541 (comment)
- #541 (comment)
  • Loading branch information
xellos00 authored Jan 22, 2024
1 parent 16c57b7 commit 3e6cf60
Show file tree
Hide file tree
Showing 9 changed files with 274 additions and 99 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func CreateRootCommand() *cobra.Command {
utils.SetGlobalLogLevel(zerolog.TraceLevel)
}
}}
rootCmd.PersistentFlags().BoolVarP(&isDebugLevel, "debug", "", false, "Enable debug mode on Log.")
rootCmd.PersistentFlags().BoolVarP(&isTraceLevel, "trace", "", false, "Enable Trace mode on Log.")
rootCmd.PersistentFlags().BoolVarP(&isDebugLevel, "debug", "", false, "Enable debug mode on Log")
rootCmd.PersistentFlags().BoolVarP(&isTraceLevel, "trace", "", false, "Enable trace mode on Log")
return rootCmd
}
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func createInitCommand(initializer tp.Initializer) *cobra.Command {
cmd := &cobra.Command{
Use: "init",
Short: "init",
Short: "Initialize VATZ",
RunE: func(cmd *cobra.Command, args []string) error {
log.Debug().Str("module", "main").Msg("init")

Expand Down
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func createStartCommand() *cobra.Command {
log.Debug().Str("module", "cmd > start").Msg("start command")
cmd := &cobra.Command{
Use: "start",
Short: "start VATZ",
Short: "Start VATZ",
PreRunE: func(cmd *cobra.Command, args []string) error {
log.Debug().Str("module", "cmd start").Msgf("Set logfile %s", logfile)
return utils.SetLog(logfile, defaultFlagLog)
Expand Down
2 changes: 1 addition & 1 deletion cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func createStopCommand() *cobra.Command {
log.Debug().Str("module", "cmd > stop").Msg("Stop command")
cmd := &cobra.Command{
Use: "stop",
Short: "stop VATZ",
Short: "Stop VATZ",
PreRunE: func(cmd *cobra.Command, args []string) error {
_, err := config.InitConfig(configFile)
return err
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VATZ API Specs

RPC service is available for managing VATZ. For now, this RPC serive is only available on local.
RPC service is available for managing VATZ. For now, this RPC service is only available on local.

## Get Plugin's status

Expand Down
Loading

0 comments on commit 3e6cf60

Please sign in to comment.