From d5db964a4cd5ed2bce5e8724b800f6cb425df258 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Mon, 6 Jan 2025 06:53:07 -0700 Subject: scripts: make option listing more consistent --- vis-complete | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'vis-complete') diff --git a/vis-complete b/vis-complete index 50895b1..2e76499 100755 --- a/vis-complete +++ b/vis-complete @@ -11,11 +11,10 @@ usage() { Interactively complete file or word ---file this passes pattern to obtain a list of matching - file names (this is the default). ---word this reads standard input to obtain a list of lines - matching pattern. -pattern pattern to be completed" +Options: + --file expand pattern into a list of matching file names (default) + --word apply pattern to a list of words from standard input + pattern pattern to be completed" } basic_regex_quote() { printf "%s" "$1" | sed 's|[\\.*^$[]|\\&|g'; } -- cgit v1.2.3