mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-02 10:17:10 +08:00
Add logic for copying ShortDes to LongDesc if it is not present
This is the best place for inserting it that I found. Test in #2648 should be modified to run `Root.ProcessHelp()`. License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@ -153,6 +153,7 @@ var rootROSubcommands = map[string]*cmds.Command{
|
||||
}
|
||||
|
||||
func init() {
|
||||
Root.ProcessHelp()
|
||||
*RootRO = *Root
|
||||
|
||||
// sanitize readonly refs command
|
||||
|
Reference in New Issue
Block a user