1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

config-patch: apply review suggestions

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
Łukasz Magiera
2017-11-25 03:16:30 +01:00
parent c573d3d051
commit 2514c74750
4 changed files with 58 additions and 8 deletions

View File

@ -324,13 +324,14 @@ var configProfileApplyCmd = &cmds.Command{
res.SetError(err, cmdkit.ErrNormal)
return
}
res.SetOutput(nil)
},
}
var configProfileRevertCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Tagline: "Revert profile changes.",
ShortDescription: `Reverts profile-related changes to the config.
ShortDescription: `Reverts profile-related changes to the default values.
Reverting some profiles may damage the configuration or not be possible.
Backing up the config before running this command is advised.`,
@ -350,6 +351,7 @@ Backing up the config before running this command is advised.`,
res.SetError(err, cmdkit.ErrNormal)
return
}
res.SetOutput(nil)
},
}