reset
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
me=$0
|
||||
scriptversion="1.0.0"
|
||||
|
||||
version="$me $scriptversion
|
||||
|
||||
Copyright (C) 2025 GCK.
|
||||
This is free software; you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law."
|
||||
|
||||
usage="\
|
||||
Usage: $me [OPTION]...
|
||||
Builds man page
|
||||
|
||||
Options:
|
||||
|
||||
--help print this help and exit
|
||||
--version output version information"
|
||||
|
||||
package=yait
|
||||
|
||||
while test $# -gt 0; do
|
||||
case $1 in
|
||||
--help) echo "$usage"; exit 0;;
|
||||
--version) echo "$version"; exit 0;;
|
||||
-*)
|
||||
echo "$0: Unknown option '$1'." >&2
|
||||
echo "$0: Try '--help' for more information.'$1'." >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
help2man --include=man/$package.x ./bin/$package > $package.1
|
||||
Reference in New Issue
Block a user