mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-13 00:26:40 +02: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() {
|
func init() {
|
||||||
rootCmd.AddCommand(configSetCmd)
|
rootCmd.AddCommand(configSetCmd)
|
||||||
configSetCmd.AddCommand(setEnableControlRCmd)
|
configSetCmd.AddCommand(setEnableControlRCmd)
|
||||||
configSetCmd.AddCommand(setFilterDuplicateCommandsCmd)
|
configSetCmd.AddCommand(setFilterDuplicateCommandsCmd)
|
||||||
configSetCmd.AddCommand(setDisplayedColumnsCmd)
|
configSetCmd.AddCommand(setDisplayedColumnsCmd)
|
||||||
configSetCmd.AddCommand(setTimestampFormatCmd)
|
configSetCmd.AddCommand(setTimestampFormatCmd)
|
||||||
configSetCmd.AddCommand(setCustomColumnsCmd)
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user