Remove no-op config-set that isn't needed now that we have good docs from cobra

This commit is contained in:
David Dworken 2022-11-16 08:07:02 -08:00
parent fe6394d1b5
commit 65405b868f
No known key found for this signature in database

View File

@ -75,19 +75,10 @@ var setTimestampFormatCmd = &cobra.Command{
},
}
var setCustomColumnsCmd = &cobra.Command{
Use: "custom-columns",
Short: "The list of custom columns that hishtory is tracking",
Run: func(cmd *cobra.Command, args []string) {
log.Fatalf("Please use config-add and config-delete to interact with custom-columns")
},
}
func init() {
rootCmd.AddCommand(configSetCmd)
configSetCmd.AddCommand(setEnableControlRCmd)
configSetCmd.AddCommand(setFilterDuplicateCommandsCmd)
configSetCmd.AddCommand(setDisplayedColumnsCmd)
configSetCmd.AddCommand(setTimestampFormatCmd)
configSetCmd.AddCommand(setCustomColumnsCmd)
}