From 1262469aea65ab7af743aab5731bf4fe3ca0e0e2 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sat, 22 Jan 2022 21:01:25 -0800 Subject: [PATCH] Shorten two more command's descriptions Two columns at 119 width. --- share/config.fish | 2 +- share/functions/fish_default_key_bindings.fish | 2 +- share/functions/fish_default_mode_prompt.fish | 2 +- src/builtin.cpp | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/share/config.fish b/share/config.fish index 0b56fe618..6caec2003 100644 --- a/share/config.fish +++ b/share/config.fish @@ -140,7 +140,7 @@ end # # Launch debugger on SIGTRAP # -function fish_sigtrap_handler --on-signal TRAP --no-scope-shadowing --description "TRAP signal handler: launches a debug prompt" +function fish_sigtrap_handler --on-signal TRAP --no-scope-shadowing --description "TRAP signal handler: debug prompt" breakpoint end diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index f9597d487..bca00fc7c 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -1,4 +1,4 @@ -function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fish" +function fish_default_key_bindings -d "Default (emacs-like) key bindings" if contains -- -h $argv or contains -- --help $argv echo "Sorry but this function doesn't support -h or --help" diff --git a/share/functions/fish_default_mode_prompt.fish b/share/functions/fish_default_mode_prompt.fish index b90461b3c..21e4af86f 100644 --- a/share/functions/fish_default_mode_prompt.fish +++ b/share/functions/fish_default_mode_prompt.fish @@ -1,4 +1,4 @@ -function fish_default_mode_prompt --description "Display the default mode for the prompt" +function fish_default_mode_prompt --description "Display default prompt mode" # Do nothing if not in vi mode if test "$fish_key_bindings" = fish_vi_key_bindings or test "$fish_key_bindings" = fish_hybrid_key_bindings diff --git a/src/builtin.cpp b/src/builtin.cpp index 92d8955ed..ced3fd1ec 100644 --- a/src/builtin.cpp +++ b/src/builtin.cpp @@ -373,8 +373,7 @@ static constexpr builtin_data_t builtin_datas[] = { {L"commandline", &builtin_commandline, N_(L"Set or get the commandline")}, {L"complete", &builtin_complete, N_(L"Edit command specific completions")}, {L"contains", &builtin_contains, N_(L"Search for a specified string in a list")}, - {L"continue", &builtin_break_continue, - N_(L"Skip the rest of the current lap of the innermost loop")}, + {L"continue", &builtin_break_continue, N_(L"Skip over remaining innermost loop")}, {L"count", &builtin_count, N_(L"Count the number of arguments")}, {L"disown", &builtin_disown, N_(L"Remove job from job list")}, {L"echo", &builtin_echo, N_(L"Print arguments")},