Commit 1967071d authored by Cristian Maglie's avatar Cristian Maglie

Fixed inline help typos

Fix #55
parent 4379a60f
...@@ -35,8 +35,8 @@ func initDownloadCommand() *cobra.Command { ...@@ -35,8 +35,8 @@ func initDownloadCommand() *cobra.Command {
Short: "Downloads one or more cores and corresponding tool dependencies.", Short: "Downloads one or more cores and corresponding tool dependencies.",
Long: "Downloads one or more cores and corresponding tool dependencies.", Long: "Downloads one or more cores and corresponding tool dependencies.",
Example: "" + Example: "" +
" " + commands.AppName + "core download arduino:samd # to download the latest version of arduino SAMD core.\n" + " " + commands.AppName + " core download arduino:samd # to download the latest version of arduino SAMD core.\n" +
" " + commands.AppName + "core download arduino:samd=1.6.9 # for a specific version (in this case 1.6.9).", " " + commands.AppName + " core download arduino:samd=1.6.9 # for a specific version (in this case 1.6.9).",
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Run: runDownloadCommand, Run: runDownloadCommand,
} }
......
...@@ -31,7 +31,7 @@ func initListCommand() *cobra.Command { ...@@ -31,7 +31,7 @@ func initListCommand() *cobra.Command {
Use: "list", Use: "list",
Short: "Shows the list of installed platforms.", Short: "Shows the list of installed platforms.",
Long: "Shows the list of installed platforms.", Long: "Shows the list of installed platforms.",
Example: " " + commands.AppName + "core list", Example: " " + commands.AppName + " core list",
Args: cobra.NoArgs, Args: cobra.NoArgs,
Run: runListCommand, Run: runListCommand,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment