mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-26 15:02:00 +02:00
Fix bug that made config-get timestamp-format require an argument
This commit is contained in:
parent
f08377f7f7
commit
559fac57f9
@ -102,7 +102,6 @@ var getDisplayedColumnsCmd = &cobra.Command{
|
||||
var getTimestampFormatCmd = &cobra.Command{
|
||||
Use: "timestamp-format",
|
||||
Short: "The go format string to use for formatting the timestamp",
|
||||
Args: cobra.ExactArgs(1),
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
ctx := hctx.MakeContext()
|
||||
config := hctx.GetConf(ctx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user