Skip to content

Commit

Permalink
Clearer messages regarding -s option. [gh-10]
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Dai committed Aug 12, 2012
1 parent 5f3454e commit db82c80
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Fasd comes with some useful aliases by default:

```sh
alias a='fasd -a' # any
alias s='fasd -s' # show / search / select
alias s='fasd -si' # show / search / select
alias d='fasd -d' # directory
alias f='fasd -f' # file
alias sd='fasd -sid' # interactive directory selection
Expand Down Expand Up @@ -218,8 +218,8 @@ busybox ash, FreeBSD 9 /bin/sh and OpenBSD /bin/sh.
fasd [options] [query ...]
[f|a|s|d|z] [options] [query ...]
options:
-s show list of files with their ranks
-l list paths only
-s list paths with scores
-l list paths without scores
-i interactive mode
-e <cmd> set command to execute on the result file
-b <name> only use <name> backend
Expand Down
4 changes: 2 additions & 2 deletions fasd
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ $(fasd --backend $each)"
h*) [ -z "$comp" ] && echo "fasd [options] [query ...]
[f|a|s|d|z] [opions] [query ...]
options:
-s show list of files with their ranks
-l list paths only
-s list paths with scores
-l list paths without scores
-i interactive mode
-e <cmd> set command to execute on the result file
-b <name> only use <name> backend
Expand Down
10 changes: 5 additions & 5 deletions fasd.1
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fasd [-A|-D] [paths ...]
.IP
.nf
\f[C]
-s\ \ \ \ \ \ \ \ \ show\ list\ of\ files\ with\ their\ ranks
-l\ \ \ \ \ \ \ \ \ list\ paths\ only
-s\ \ \ \ \ \ \ \ \ list\ paths\ with\ ranks
-l\ \ \ \ \ \ \ \ \ list\ paths\ without\ ranks
-i\ \ \ \ \ \ \ \ \ interactive\ mode
-e\ <cmd>\ \ \ set\ command\ to\ execute\ on\ the\ result\ file
-b\ <name>\ \ only\ use\ <name>\ backend
Expand Down Expand Up @@ -215,9 +215,9 @@ into fasd\[aq]s native format.
As of now, fasd supports Gtk\[aq]s \f[C]recently-used.xbel\f[] and
Vim\[aq]s \f[C]viminfo\f[] backends.
You can define your own backend by declaring a function by that name in
your \f[C]\&.fasdrc\f[].
your \f[C].fasdrc\f[].
You set default backend with \f[C]_FASD_BACKENDS\f[] variable in our
\f[C]\&.fasdrc\f[].
\f[C].fasdrc\f[].
.SH TWEAKS
.PP
Upon every execution, fasd will source "/etc/fasdrc" and "$HOME/.fasdrc"
Expand Down Expand Up @@ -283,7 +283,7 @@ If fasd does not work as expected, please file a bug report on GitHub
describing the unexpected behavior along with your OS version, shell
version, awk version, sed version, and a log file.
.PP
You can set \f[C]_FASD_SINK\f[] in your \f[C]\&.fasdrc\f[] to obtain a
You can set \f[C]_FASD_SINK\f[] in your \f[C].fasdrc\f[] to obtain a
log.
.IP
.nf
Expand Down
4 changes: 2 additions & 2 deletions fasd.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ fasd [-A|-D] [paths ...]

# OPTIONS

-s show list of files with their ranks
-l list paths only
-s list paths with ranks
-l list paths without ranks
-i interactive mode
-e <cmd> set command to execute on the result file
-b <name> only use <name> backend
Expand Down

0 comments on commit db82c80

Please sign in to comment.