Skip to content

Commit

Permalink
Improve readability of execlog cli flags
Browse files Browse the repository at this point in the history
  • Loading branch information
morestatic committed Jul 18, 2022
1 parent e965879 commit dc29678
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/pkg/config/flags_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const (
IsSudo = "is_sudo"
Interpreter = "interpreter"
IsFullOutput = "full-command-response"
WriteExecLog = "writeexeclog"
ReadExecLog = "readexeclog"
WriteExecLog = "write-execlog"
ReadExecLog = "read-execlog"

ClientID = "client"
TunnelID = "tunnel"
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/config/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ type YAMLExecuteParams struct {
Interpreter string `yaml:"interpreter,omitempty"`
AbortOnError bool `yaml:"abort,omitempty"`
Cwd string `yaml:"cwd,omitempty"`
WriteExecLog string `yaml:"writeexeclog,omitempty"`
ReadExecLog string `yaml:"readexeclog,omitempty"`
WriteExecLog string `yaml:"write-execlog,omitempty"`
ReadExecLog string `yaml:"read-execlog,omitempty"`
}

const (
Expand Down

0 comments on commit dc29678

Please sign in to comment.