summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/en_US/opkbuild.sh2
-rw-r--r--src/opkbuild.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh
index f6a50d5..2f34f96 100644
--- a/locale/en_US/opkbuild.sh
+++ b/locale/en_US/opkbuild.sh
@@ -30,7 +30,7 @@ Options:
-a <host-arch> distribution architecture for which architecture-
dependent packages should be built (default: system
architecture)
- -P <host-plat> application platform for which platform-specific
+ -p <host-plat> application platform for which platform-specific
packages should be configured (default: system
platform)
-D check build dependencies (default behavior)
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 6ae8df5..d5df3c5 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -106,7 +106,7 @@ version()
get_options()
{
# Parse and handle command-line options.
- while getopts 'bBASFT:a:P:DdCcr:hV' opt; do
+ while getopts 'bBASFT:a:p:DdCcr:hV' opt; do
case "${opt}" in
b)
if [ -n "${opt_build}" ]; then
@@ -144,7 +144,7 @@ get_options()
a)
opt_host_arch="${OPTARG}"
;;
- P)
+ p)
opt_host_plat="${OPTARG}"
;;
D)