From 31e0aaddf493fef22c483c1c592f97c1b3eaa07a Mon Sep 17 00:00:00 2001 From: Peeter Piegaze <1153481+ppiegaze@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:12:36 +0100 Subject: [PATCH] fix list --- cmd/update/project.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cmd/update/project.go b/cmd/update/project.go index 678b786e..bf883af4 100644 --- a/cmd/update/project.go +++ b/cmd/update/project.go @@ -60,8 +60,7 @@ Then, pass it in using the *file* flag: To archive or activate (unarchive) a project using a *yaml* file: -* Add a state field, with a value of *0* for activated (unarchived) -or *1* for archived, at the top level of the the *yaml* file. +* Add a state field, with a value of *0* for activated (unarchived) or *1* for archived, at the top level of the the *yaml* file. * Add the *archive* flag to the command. @@ -89,10 +88,9 @@ And to activate (unarchive) the same project: $ uctl update project --file update.yaml --archive -The *state* field only takes effect if the *archive* flag is present in the command. - -The *activate** flag is not used when updating a project using a *yaml* file. -Instead, a *state* field value of *0* in conjunction with the *archive* flag is used. +Note that when using a *yaml* file, the *activate* flag is not used. +Instead, the *archive* flag is used for *both* archiving and activating (unarchiving) with the difference being in the *state* field of the *yaml* file. +Furthermore, the *state* field only takes effect if the *archive* flag is present in the command. Usage `