mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-22 21:41:01 +01:00
Remove no-op config-set that isn't needed now that we have good docs from cobra
This commit is contained in:
parent
fe6394d1b5
commit
65405b868f
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user