2 # ==============================================================================
3 # portsreinstall library script
5 # Copyright (C) 2018-2021 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
6 # This software is distributed under the 2-Clause BSD License.
7 # ==============================================================================
9 # ============= Output a short help =============
12 usage_short_content | fold -s -w `misc_get_console_column_size`
15 # ============= Content of the short help =============
16 usage_short_content () { :; }
18 # ============= Output a long help =============
22 manpage_path=${MYPREFIX}/man/man8/${APPNAME}.8
23 if [ -e "$manpage_path.gz" ]
25 zcat "$manpage_path.gz"
26 elif [ -e "$manpage_path" ]