From a4b1f9d9510cb2fcc6326cf3a12ad247ee2fca22 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 11 May 2025 20:08:33 +0300 Subject: [PATCH] fossil-commit: add option placeholders (#16435) --- pages/common/fossil-commit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/fossil-commit.md b/pages/common/fossil-commit.md index 08f7c69918..f01f1bf646 100644 --- a/pages/common/fossil-commit.md +++ b/pages/common/fossil-commit.md @@ -7,13 +7,13 @@ `fossil commit` -- Create a new version containing all the changes in the current checkout, using the specified comment: +- Create a new version containing all the changes in the current checkout, using the specified [m]essage: -`fossil commit --comment "{{comment}}"` +`fossil commit {{[-m|--comment]}} "{{comment}}"` - Create a new version containing all the changes in the current checkout with a comment read from a specific file: -`fossil commit --message-file {{path/to/commit_message_file}}` +`fossil commit {{[-M|--message-file]}} {{path/to/commit_message_file}}` - Create a new version containing changes from the specified files; user will be prompted for a comment: