diff --git a/cmd/cmd.go b/cmd/cmd.go index bddb35a..423428e 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -25,7 +25,7 @@ var configFile string var rootCmd = &cobra.Command{ Use: "flucky", - Short: "Read from sensors", + Short: "flucky - operate with differen sensors, his values and remote servers to synchronize measured values", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { // check if config file exists diff --git a/cmd/humidity/humidity.go b/cmd/humidity/humidity.go index 3c9b596..973a61c 100644 --- a/cmd/humidity/humidity.go +++ b/cmd/humidity/humidity.go @@ -10,7 +10,7 @@ var round float64 var humidityCmd = &cobra.Command{ Use: "humidity", - Short: "Read humidity from sensor", + Short: "Operates with humidity values", } // Execute a diff --git a/cmd/humidity/list.go b/cmd/humidity/list.go index 784f72d..1518188 100644 --- a/cmd/humidity/list.go +++ b/cmd/humidity/list.go @@ -16,7 +16,7 @@ import ( var listTemperatureCmd = &cobra.Command{ Use: "list", - Short: "print humidities", + Short: "List humidity values from different or specified sensors by arguments", Example: fmt.Sprintf("flucky humidity logs"), Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/humidity/read.go b/cmd/humidity/read.go index 4437be3..0d4eb86 100644 --- a/cmd/humidity/read.go +++ b/cmd/humidity/read.go @@ -19,7 +19,7 @@ var logs bool var readHumidityCmd = &cobra.Command{ Use: "read", - Short: "read humidity from sensor", + Short: "Reading air pressure values from different or specified sensors by arguments", Run: func(cmd *cobra.Command, args []string) { // read configuration diff --git a/cmd/pressure/list.go b/cmd/pressure/list.go index 4f8ed9c..25c63d3 100644 --- a/cmd/pressure/list.go +++ b/cmd/pressure/list.go @@ -16,7 +16,7 @@ import ( var listTemperatureCmd = &cobra.Command{ Use: "list", - Short: "print air pressures", + Short: "Reading temperature values from different or specified sensors by arguments", Example: fmt.Sprintf("flucky pressure logs"), Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/pressure/pressure.go b/cmd/pressure/pressure.go index eb1b065..a1a01a9 100644 --- a/cmd/pressure/pressure.go +++ b/cmd/pressure/pressure.go @@ -10,7 +10,7 @@ var round float64 var pressureCmd = &cobra.Command{ Use: "pressure", - Short: "Read pressure from sensor", + Short: "List air pressure values from different or specified sensors by arguments", } // Execute a diff --git a/cmd/pressure/read.go b/cmd/pressure/read.go index a38e051..b6c0979 100644 --- a/cmd/pressure/read.go +++ b/cmd/pressure/read.go @@ -19,7 +19,7 @@ var logs bool var readPressureCmd = &cobra.Command{ Use: "read", - Short: "read pressure from sensor", + Short: "Operates with air pressure values", Run: func(cmd *cobra.Command, args []string) { // read configuration diff --git a/cmd/temperature/list.go b/cmd/temperature/list.go index 46659a1..c474f79 100644 --- a/cmd/temperature/list.go +++ b/cmd/temperature/list.go @@ -16,7 +16,7 @@ import ( var listTemperatureCmd = &cobra.Command{ Use: "list", - Short: "print temperatures", + Short: "List temperature values from different or specified sensors by arguments", Example: fmt.Sprintf("flucky temperature logs"), Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/temperature/read.go b/cmd/temperature/read.go index 193e53b..9d05ae3 100644 --- a/cmd/temperature/read.go +++ b/cmd/temperature/read.go @@ -20,7 +20,7 @@ var logs bool var readTemperatureCmd = &cobra.Command{ Use: "read", - Short: "read temperature from sensor", + Short: "Reading temperature values from different or specified sensors by arguments", Example: fmt.Sprintf("flucky temperature read\nflucky temperature read outdoor"), Run: func(cmd *cobra.Command, args []string) { diff --git a/cmd/temperature/temperature.go b/cmd/temperature/temperature.go index 3703ce8..486770b 100644 --- a/cmd/temperature/temperature.go +++ b/cmd/temperature/temperature.go @@ -12,7 +12,7 @@ var round float64 var temperatureCmd = &cobra.Command{ Use: "temperature", - Short: "Operate with temperature messures", + Short: "Operates with temperature values", Example: fmt.Sprintf("flucky temperature read\nflucky temperature read outdoor"), }