summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:24:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:24:46 (EDT)
commitd233bfd1a423d7515017ef4bda99ac5501120a43 (patch)
tree531e4e8737fa74282f0457369150cf7305366b70 /lib
parent34f21a5b49952dcb80acde5fafd85267c69e3b1d (diff)
ob_reduce_deps(): Use -p instead of -P for platform
Same rationale as in commit 34f21a5.
Diffstat (limited to 'lib')
-rw-r--r--lib/deps.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index bc524cc..629c5bb 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -193,7 +193,7 @@ ob_parse_dep()
## package relationships are union lists.
## @option -a host_arch The architecture to which dependencies should be
## reduced. Required.
-## @option -P host_plat The platform to which dependencies should be reduced.
+## @option -p host_plat The platform to which dependencies should be reduced.
## Required.
## @option -u - Treat \fIdeps\fP as a union list.
## @operand deps req The list of dependencies to reduce.
@@ -215,12 +215,12 @@ ob_reduce_deps()
union='false'
OPTIND=1
- while getopts 'a:P:u' opt; do
+ while getopts 'a:p:u' opt; do
case "${opt}" in
a)
host_arch="${OPTARG}"
;;
- P)
+ p)
host_plat="${OPTARG}"
;;
u)