From 2a2ec747d5ccf287ae70eb63718ff61aa0106b99 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Thu, 13 Nov 2014 00:15:43 -0800 Subject: [PATCH] core/commands2: Removed unused options from 'config', and fixed synopsis syntax --- core/commands2/config.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/commands2/config.go b/core/commands2/config.go index 8bbec7083..5f7cfdd93 100644 --- a/core/commands2/config.go +++ b/core/commands2/config.go @@ -25,8 +25,8 @@ var configCmd = &cmds.Command{ Synopsis: ` ipfs config - Get value of ipfs config - Set value of to -ipfs config --show - Show config file -ipfs config --edit - Edit config file in $EDITOR +ipfs config show - Show config file +ipfs config edit - Edit config file in $EDITOR `, ShortDescription: ` ipfs config controls configuration variables. It works like 'git config'. @@ -53,10 +53,6 @@ Set the value of the 'datastore.path' key: cmds.StringArg("key", true, false, "The key of the config entry (e.g. \"Addresses.API\")"), cmds.StringArg("value", false, false, "The value to set the config entry to"), }, - Options: []cmds.Option{ - cmds.StringOption("show", "s", "Show config file"), - cmds.StringOption("edit", "e", "Edit config file in $EDITOR"), - }, Run: func(req cmds.Request) (interface{}, error) { args := req.Arguments()