Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
nkitlabs committed Dec 16, 2024
1 parent 5241b8c commit ebac0ba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func chainsShowCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "show [chain_name]",
Aliases: []string{"s"},
Short: "Return a chain's configuration data",
Short: "Return chain's configuration data",
Args: withUsage(cobra.ExactArgs(1)),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s ch s eth
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func configInitCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "init",
Aliases: []string{"i"},
Short: "Create a default configuration at home directory path defined by --home",
Short: "Create a default configuration at home directory path",
Args: withUsage(cobra.NoArgs),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s config init --home %s
Expand Down
2 changes: 1 addition & 1 deletion cmd/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func queryCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "query",
Aliases: []string{"q"},
Short: "Query commands on source and destination chains.",
Short: "Query commands on source and destination chains",
}

cmd.AddCommand(
Expand Down
12 changes: 6 additions & 6 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ func NewRootCmd(log *zap.Logger) *cobra.Command {
// RootCmd represents the base command when called without any subcommands
rootCmd := &cobra.Command{
Use: appName,
Short: "This application relays tunnel messages to the target chains/contracts.",
Long: strings.TrimSpace(`falcon has:
1. Configuration management for destination chains
2. Key management for managing multiple keys for multiple chains
3. transaction Execution functionality on destination chains.
4. Query functionality on source and destination chains.
Short: "Falcon relays tss tunnel messages from BandChain to destination chains/smart contracts",
Long: strings.TrimSpace(`This application has:
1. Configuration Management: Handles the configuration of the program.
2. Key Management: Supports managing multiple keys across multiple chains.
3. Transaction Execution: Enables executing transactions on destination chains.
4. Query Functionality: Facilitates querying data from both source and destination chains.
NOTE: Most of the commands have aliases that make typing them much quicker
(i.e. 'falcon tx', 'falcon q', etc...)`),
Expand Down
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func startCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "start [tunnel_id...]",
Aliases: []string{"st"},
Short: "Start the falcon tunnel relayer system.",
Short: "Start the falcon tunnel relayer program",
Args: withUsage(cobra.MinimumNArgs(0)),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s start # start relaying data from every tunnel being registered on source chain.
Expand Down

0 comments on commit ebac0ba

Please sign in to comment.