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:
@ -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)
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user