Fix bug that made config-get timestamp-format require an argument

This commit is contained in:
David Dworken 2023-12-11 20:44:10 -08:00
parent f08377f7f7
commit 559fac57f9
No known key found for this signature in database

View File

@ -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)