summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-02-28 21:01:30 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-05 20:39:53 +0000
commit8b109ffb96282a6dd1aa5d61aa935bcba69c56f1 (patch)
tree8852af034e34abaf9c3a1595d9fe0acb360284cb /scripts/build
parent49e4608cffe23b48e3ef90eec6852d34f1c94225 (diff)
downloadvyos-live-build-8b109ffb96282a6dd1aa5d61aa935bcba69c56f1.tar.gz
vyos-live-build-8b109ffb96282a6dd1aa5d61aa935bcba69c56f1.zip
config: rename --architectures to --architecture
this has only ever supported specifying a single arch, thus was confusing being plural Gbp-Dch: Short Closes: #952892
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/config b/scripts/build/config
index d1978a461..4f95d3c4c 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -26,7 +26,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--apt-secure true|false]\n\
\t [--apt-source-archives true|false]\n\
\t [--aptitude-options OPTION|\"OPTIONS\"]\n\
-\t [-a|--architectures ARCHITECTURE]\n\
+\t [-a|--architecture ARCHITECTURE]\n\
\t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
\t [--backports true|false]\n\
\t [--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]\n\
@@ -349,7 +349,7 @@ Local_arguments ()
;;
# config/bootstrap
- -a|--architectures)
+ -a|--architecture|--architectures)
LB_ARCHITECTURES="${2}"
shift 2
;;