Skip to content

Commit

Permalink
Change command synopsis to match convention
Browse files Browse the repository at this point in the history
See conventions applied to synopsis in man(1)
  • Loading branch information
sudormrfbin committed Jun 29, 2020
1 parent c0eb09c commit 5c83eff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ are stored and retrieved as absolute paths.
-------
$ f --help
Usage: f [-d] [-r|-t] [-w cmd|-a|-o] [regex1 regex2 ..]
Usage: f [-d] [-r|-t] [-w cmd|-a|-o] [regex] ...
f [-d] [-r|-t] [-w cmd|-a|-o] [-K cmd] -k
f [-r|-t] [-K cmd] [-k] -x [regex1 regex2 ..]
f [-r|-t] -l [regex1 regex2 ..]
f [-r|-t] [-K cmd] [-k] -x [regex] ...
f [-r|-t] -l [regex] ...
f -c|-p|-h
-k --pick Launch fzf for selection and then open with $EDITOR
Expand Down
6 changes: 3 additions & 3 deletions functions/__f.fish
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ function __f -d "Open recent files entered on command line"

function __print_help
echo "
Usage: $F_CMD [-d] [-r|-t] [-w cmd|-a|-o] [regex1 regex2 ..]
Usage: $F_CMD [-d] [-r|-t] [-w cmd|-a|-o] [regex] ...
$F_CMD [-d] [-r|-t] [-w cmd|-a|-o] [-K cmd] -k
$F_CMD [-r|-t] [-K cmd] [-k] -x [regex1 regex2 ..]
$F_CMD [-r|-t] -l [regex1 regex2 ..]
$F_CMD [-r|-t] [-K cmd] [-k] -x [regex] ...
$F_CMD [-r|-t] -l [regex] ...
$F_CMD -c|-p|-h
-k --pick Launch fzf for selection and then open with \$EDITOR
Expand Down

0 comments on commit 5c83eff

Please sign in to comment.