summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/shman.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/shman.sh b/tools/shman.sh
index df88c95..34c607e 100755
--- a/tools/shman.sh
+++ b/tools/shman.sh
@@ -88,7 +88,7 @@ gen_doc_func()
local sect_ret=
local sect_out=
local sect_err=
- local sect_pure=
+ local sect_attr=
# TODO: SYNOPSIS
@@ -141,8 +141,8 @@ gen_doc_func()
sect_err=".SH STDERR${LF}${args}"
;;
'purity')
- sect_pure=".SH SUBSHELL SAFETY AND SIDE EFFECTS"
- sect_pure="${sect_pure}${LF}${args}"
+ sect_attr=".SH ATTRIBUTES"
+ sect_attr="${sect_attr}${LF}${args}"
;;
esac
done <<-EOF
@@ -151,7 +151,7 @@ gen_doc_func()
printf '%s\n\n' "${sect_name}" "${sect_desc}" \
"${sect_opts}" "${sect_opds}" "${sect_in}" "${sect_ret}" \
- "${sect_out}" "${sect_err}" "${sect_pure}"
+ "${sect_out}" "${sect_err}" "${sect_attr}"
}
gen_doc()