Rename doc command to help (#2125)

* Rename `doc` command to `help`

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-28 14:47:36 +10:00
1 parent ad5af1b2c7
commit f26b30be18
8 files changed
+26 -26

No files matched your search

+6 -6
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.7.0.2
.\"
.TH "LF" "1" "2025\-08\-27" "r37" "DOCUMENTATION"
.TH "LF" "1" "2025\-08\-28" "r37" "DOCUMENTATION"
.SH NAME
lf \- terminal file manager
.SH SYNOPSIS
@@ -24,7 +24,7 @@ This documentation can either be read from the terminal using
\f[CR]lf \-doc\f[R] or online at \c
.UR https://github.com/gokcehan/lf/blob/master/doc.md
.UE \c
\ You can also use the \f[CR]doc\f[R] command (default
\ You can also use the \f[CR]help\f[R] command (default
\f[CR]<f\-1>\f[R]) inside lf to view the documentation in a pager.
A man page with the same content is also available in the repository at
\c
@@ -278,8 +278,8 @@ cmd open &$OPENER \(dq$f\(dq
map e $$EDITOR \(dq$f\(dq
map i $$PAGER \(dq$f\(dq
map w $$SHELL
cmd doc $$lf \-doc | $PAGER
map <f\-1> doc
cmd help $$lf \-doc | $PAGER
map <f\-1> help
cmd maps $lf \-remote \(dqquery $id maps\(dq | $PAGER
cmd nmaps $lf \-remote \(dqquery $id nmaps\(dq | $PAGER
cmd vmaps $lf \-remote \(dqquery $id vmaps\(dq | $PAGER
@@ -291,8 +291,8 @@ cmd open &%OPENER% %f%
map e $%EDITOR% %f%
map i !%PAGER% %f%
map w $%SHELL%
cmd doc !%lf% \-doc | %PAGER%
map <f\-1> doc
cmd help !%lf% \-doc | %PAGER%
map <f\-1> help
cmd maps !%lf% \-remote \(dqquery %id% maps\(dq | %PAGER%
cmd nmaps !%lf% \-remote \(dqquery %id% nmaps\(dq | %PAGER%
cmd vmaps !%lf% \-remote \(dqquery %id% vmaps\(dq | %PAGER%