diff --git a/docker/README.md b/docker/README.md index 6f10696c..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`. 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, )]