From bca070433e839acdc6e609bf5f1fdb9b66df82ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 May 2026 00:44:09 +0000 Subject: [PATCH 1/2] docs: fix documentation inconsistencies found by Copilot --- docker/README.md | 2 +- src/cli.rs | 12 +++++++----- src/palette.rs | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker/README.md b/docker/README.md index 6f10696c..35bd7869 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,6 +1,6 @@ # Docker building and testing -The goal is to allow the same builds and tests to run locally, with `cargo`, and in GitHub Actions. +The goal is to allow the same builds and tests to run locally with `cargo` and in GitHub Actions. For instance, we can easily build the library locally targeting an old glibc version with: `docker buildx bake -f docker/docker-bake.hcl extract-release-artifact`. diff --git a/src/cli.rs b/src/cli.rs index c445f41b..5681440c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -342,7 +342,7 @@ enum Commands { /// double-quoted-text, secondary-text, inline-suggestion, tutorial-hint, /// matching-char, opening-and-closing-pair, normal-text, comment, /// env-var, markdown-heading1, markdown-heading2, markdown-heading3, - /// markdown-code, key-sequence-style, selected-text + /// markdown-code, key-sequence-style, selected-text, bash-reserved /// /// Examples: /// flyline set-style --default-theme dark @@ -525,9 +525,11 @@ enum KeySubcommands { /// /// Available context variables: always, bufferIsEmpty, fuzzyHistorySearch, /// tabCompletionWaiting, tabCompletion, tabCompletionAvailable, - /// tabCompletionMultiColAvailable, tabCompletionsNoFilteredResults, tabCompletionsNoResults, - /// agentModeWaiting, agentOutputSelection, agentError, inlineSuggestionAvailable, - /// cursorAtEnd, cursorAtStart, promptDirSelect, textSelected, multilineBuffer. + /// tabCompletionMultiColAvailable, tabCompletionNoFilteredResults, + /// tabCompletionNoResults, agentModeWaiting, agentOutputSelection, + /// agentModeError, inlineSuggestionAvailable, cursorAtEnd, + /// cursorAtEndTrimmed, cursorAtStart, promptDirSelection, textSelected, + /// multilineBuffer, bufferHasAgentModePrefix, editingBufferMode. /// /// Examples: /// flyline key bind Ctrl+Enter always=submitOrNewline @@ -609,7 +611,7 @@ enum LogSubcommands { #[command(name = "stream", verbatim_doc_comment)] Stream { /// Destination: a file path, `stderr`, or `terminal`. - #[arg(value_name = "FILEPATH|terminal")] + #[arg(value_name = "FILEPATH|stderr|terminal")] dest: String, }, } diff --git a/src/palette.rs b/src/palette.rs index 9556f4b7..2e668256 100644 --- a/src/palette.rs +++ b/src/palette.rs @@ -123,7 +123,7 @@ fn parse_color_to_ratatui(c: parse_style::Color) -> ratatui::style::Color { /// All individually-configurable palette slots. /// /// The kebab-case name of each variant (e.g. `"recognised-command"`) is used -/// in the `flyline set-colour --style NAME=STYLE` command-line interface. +/// in the `flyline set-style NAME=STYLE` command-line interface. #[derive( Debug, Clone, Copy, PartialEq, Eq, EnumIter, EnumMessage, strum::Display, strum::EnumString, )] From bfdf7869c8068e68e0cfd04cc76e9f66026f636b Mon Sep 17 00:00:00 2001 From: HalFrgrd <4559349+HalFrgrd@users.noreply.github.com> Date: Sat, 9 May 2026 11:07:32 +0100 Subject: [PATCH 2/2] Fix wording in Docker README for clarity --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 35bd7869..fe79c2ca 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,6 +1,6 @@ # Docker building and testing -The goal is to allow the same builds and tests to run locally with `cargo` and in GitHub Actions. +The goal is to allow the same builds and tests to run locally and in GitHub Actions. For instance, we can easily build the library locally targeting an old glibc version with: `docker buildx bake -f docker/docker-bake.hcl extract-release-artifact`.