From ec0dd1fe91ebb67e19b67f2dcc2d9226743fd63c Mon Sep 17 00:00:00 2001 From: Sander Ploegsma Date: Sun, 21 Jan 2024 15:24:25 +0100 Subject: [PATCH] create, README: fix descriptions of new options (#858) A follow-up to commit 8c3e63e595c7. --- README.md | 4 ++-- src/cli.nim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a257c56..b5a3c5f5 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ Options for completion: Options for create: --approach The slug of the approach --article The slug of the article - --practice-exercise The slug of the concept exercise - --concept-exercise The slug of the practice exercise + --practice-exercise The slug of the practice exercise + --concept-exercise The slug of the concept exercise -e, --exercise Only operate on this exercise -o, --offline Do not update the cached 'problem-specifications' data diff --git a/src/cli.nim b/src/cli.nim index 9a5c0220..50ed3272 100644 --- a/src/cli.nim +++ b/src/cli.nim @@ -242,8 +242,8 @@ func genHelpText: string = &"{paddingOpt}{allowedValues(Verbosity)} (default: normal)", optCreateApproach: "The slug of the approach", optCreateArticle: "The slug of the article", - optCreateConceptExercise: "The slug of the practice exercise", - optCreatePracticeExercise: "The slug of the concept exercise", + optCreateConceptExercise: "The slug of the concept exercise", + optCreatePracticeExercise: "The slug of the practice exercise", optCompletionShell: &"Choose the shell type (required)\n" & &"{paddingOpt}{allowedValues(Shell)}", optFmtSyncCreateExercise: "Only operate on this exercise",