Jika saya ingin mendapatkan pesan penggunaan singkat untuk bash builtin, saya dapat menggunakan help <builtin>
pada prompt perintah, misalnya
$ help export
export: export [-fn] [name[=value] ...] or export -p
Set export attribute for shell variables.
Marks each NAME for automatic export to the environment of subsequently
executed commands. If VALUE is supplied, assign VALUE before exporting.
Options:
-f refer to shell functions
-n remove the export property from each NAME
-p display a list of all exported variables and functions
An argument of `--' disables further option processing.
Exit Status:
Returns success unless an invalid option is given or NAME is invalid.
Bagaimana saya bisa melakukan ini di zsh? Saya sudah mencoba
% export --help
zsh: bad option: -e
dan
% help export
zsh: command not found: help
Juga kata "bantuan" tidak ada di dalam man zshbuiltins
.
command-line
zsh
documentation
shell-builtin
the_velour_fog
sumber
sumber