From 9c734bb3cb1f0c41d824cbf6e59f02bf9c8747b2 Mon Sep 17 00:00:00 2001 From: reubenmiller Date: Sat, 30 Dec 2023 14:18:19 +0100 Subject: [PATCH] fix(activitylog): fix typo in example --- .../go-c8y-cli/docs/cli/c8y/activitylog/c8y_activitylog_list.md | 2 +- pkg/cmd/activitylog/list/list.manual.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/go-c8y-cli/docs/cli/c8y/activitylog/c8y_activitylog_list.md b/docs/go-c8y-cli/docs/cli/c8y/activitylog/c8y_activitylog_list.md index 8a0f8a625..01cd4483e 100644 --- a/docs/go-c8y-cli/docs/cli/c8y/activitylog/c8y_activitylog_list.md +++ b/docs/go-c8y-cli/docs/cli/c8y/activitylog/c8y_activitylog_list.md @@ -15,7 +15,7 @@ c8y activitylog list [flags] ### Examples ``` -$ c8y activitylog list --datFrom -1h +$ c8y activitylog list --dateFrom -1h Show entries from the last hour $ c8y activitylog list --dateFrom -8h --filter "method match PUT|POST" diff --git a/pkg/cmd/activitylog/list/list.manual.go b/pkg/cmd/activitylog/list/list.manual.go index 8145270c9..83e5920a7 100644 --- a/pkg/cmd/activitylog/list/list.manual.go +++ b/pkg/cmd/activitylog/list/list.manual.go @@ -33,7 +33,7 @@ func NewCmdList(f *cmdutil.Factory) *CmdList { Short: "Get activity log entries", Long: `View activity log entries and filter for specific information`, Example: heredoc.Doc(` - $ c8y activitylog list --datFrom -1h + $ c8y activitylog list --dateFrom -1h Show entries from the last hour $ c8y activitylog list --dateFrom -8h --filter "method match PUT|POST"