Skip to content

Commit

Permalink
doc: update share
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Dec 16, 2022
1 parent 75bd0b3 commit 9e37dbe
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 18 deletions.
5 changes: 2 additions & 3 deletions cmd/perfmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package cmd

Expand All @@ -25,8 +24,8 @@ import (

var perfmonCmd = &cobra.Command{
Use: "perfmon",
Short: "get device performance",
Long: "get device performance",
Short: "Get device performance",
Long: "Get device performance",
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
},
Expand Down
1 change: 0 additions & 1 deletion cmd/perfmon/perfmon_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package perfmon

Expand Down
1 change: 0 additions & 1 deletion cmd/perfmon/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package perfmon

Expand Down
1 change: 0 additions & 1 deletion cmd/perfmon/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package perfmon
1 change: 0 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package cmd

Expand Down
5 changes: 2 additions & 3 deletions cmd/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package cmd

Expand All @@ -29,8 +28,8 @@ import (

var shareCmd = &cobra.Command{
Use: "share",
Short: "share the connected adb device in the network",
Long: "share the connected adb device in the network",
Short: "Share the connected adb device in the network",
Long: "Share the connected adb device in the network",
Run: func(cmd *cobra.Command, args []string) {
device := util.GetDevice(serial)

Expand Down
1 change: 0 additions & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package cmd

Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package main

Expand Down
1 change: 0 additions & 1 deletion src/entity/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package entity

Expand Down
1 change: 0 additions & 1 deletion src/entity/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package entity

Expand Down
1 change: 0 additions & 1 deletion src/entity/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package entity

Expand Down
1 change: 0 additions & 1 deletion src/perfmon/process_uitl.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package perfmon

Expand Down
1 change: 0 additions & 1 deletion src/perfmon/system_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package perfmon

Expand Down
1 change: 0 additions & 1 deletion src/util/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
package util

Expand Down

0 comments on commit 9e37dbe

Please sign in to comment.