|
@@ -102,7 +102,7 @@ main() {
|
102
|
102
|
exp) # --export
|
103
|
103
|
grep -qw "$format" <<<manpage,markdown,pod \
|
104
|
104
|
|| die "unknown format: $format"
|
105
|
|
- sfdoc__export "$format" "${RealModuleName:-$module}" "$mpath"
|
|
105
|
+ sfdoc__export "$format" "${RealModuleName:-$module}" "$mpath" "$encoding"
|
106
|
106
|
;;
|
107
|
107
|
lsm) # --lsmod
|
108
|
108
|
sfdoc__ls_m | LC_ALL=C sort
|
|
@@ -128,7 +128,7 @@ main() {
|
128
|
128
|
man)
|
129
|
129
|
which pod2man &>/dev/null \
|
130
|
130
|
|| die "pod2man is missing cannot use man page mode"
|
131
|
|
- sfdoc__export manpage "${RealModuleName:-$module}" "$mpath" \
|
|
131
|
+ sfdoc__export manpage "${RealModuleName:-$module}" "$mpath" "$encoding" \
|
132
|
132
|
| man -l -
|
133
|
133
|
;;
|
134
|
134
|
wch)
|