diff options
author | Oliver Breitwieser | 2021-08-03 14:16:29 +0200 |
---|---|---|
committer | Oliver Breitwieser | 2021-08-03 14:16:29 +0200 |
commit | 93d31162a1ae5dc2c73b15e73066b9f644a37b3b (patch) | |
tree | 7e519bf9841048f458f629c727a7f1c366770892 | |
parent | 765e79da09d643ba1a2d41676c25cb552b443a2a (diff) | |
download | aur-93d31162a1ae5dc2c73b15e73066b9f644a37b3b.tar.gz |
Add more helpful comment
-rw-r--r-- | PKGBUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ build() { _folder_man=target/release/man mkdir -p ${_folder_man}/man1 help2man "${_path_bin}" > ${_folder_man}/man1/${pkgname}.1 + # Generate info about all subcommands except for 'help' (which leads to error) "${_path_bin}" --help | awk 'enabled && $1 != "help" { print $1 } /^SUBCOMMANDS:$/ { enabled=1 }' \ | while read -r cmd; do help2man "$_path_bin $cmd" > ${_folder_man}/man1/${pkgname}-${cmd}.1 |