Repository: incubator-mynewt-newt Updated Branches: refs/heads/develop 6b9622e98 -> b50f18caf
newtmgr - improve log usability. Rename "logs" command to "log Rename "log log_list" to "log list" Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/b50f18ca Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/b50f18ca Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/b50f18ca Branch: refs/heads/develop Commit: b50f18caf4bcbc8e877b856ccbf313ba5c52ac58 Parents: 6b9622e Author: Christopher Collins <[email protected]> Authored: Fri Jan 27 11:26:31 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Fri Jan 27 11:26:31 2017 -0800 ---------------------------------------------------------------------- newtmgr/cli/logs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b50f18ca/newtmgr/cli/logs.go ---------------------------------------------------------------------- diff --git a/newtmgr/cli/logs.go b/newtmgr/cli/logs.go index 6c3503a..7eb90c2 100644 --- a/newtmgr/cli/logs.go +++ b/newtmgr/cli/logs.go @@ -326,7 +326,7 @@ func logsClearCmd(cmd *cobra.Command, args []string) { func logsCmd() *cobra.Command { logsCmd := &cobra.Command{ - Use: "logs", + Use: "log", Short: "Handles logs on remote instance", Run: func(cmd *cobra.Command, args []string) { cmd.HelpFunc()(cmd, args) @@ -363,7 +363,7 @@ func logsCmd() *cobra.Command { logsCmd.AddCommand(levelListCmd) ListCmd := &cobra.Command{ - Use: "log_list", + Use: "list", Short: "Log List Command", Run: logsListCmd, }
