config: organise getopt longoption set

alphabetised per line lists, broken up into multiple lines where exceeding
80 chars.

Gbp-Dch: Short
This commit is contained in:
Lyndon Brown 2020-03-28 06:32:14 +00:00 committed by Raphaël Hertzog
parent 51f6f2e41d
commit 6c51a80e99
1 changed files with 42 additions and 25 deletions

View File

@ -138,31 +138,48 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
Local_arguments ()
{
local LONG_OPTIONS
LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitude-options:,debootstrap-options:,debootstrap-script:,
apt-pipeline:,apt-recommends:,apt-secure:,apt-source-archives:,cache:,cache-indices:,cache-packages:,
cache-stages:,debconf-frontend:,debconf-priority:,dump,
initramfs:,initramfs-compression:,initsystem:,fdisk:,losetup:,mode:,system:,tasksel:,
architecture:,architectures:,clean,
distribution:,parent-distribution:,parent-debian-installer-distribution:,
distribution-chroot:,parent-distribution-chroot:,
distribution-binary:,parent-distribution-binary:,
parent-mirror-bootstrap:,parent-mirror-chroot:,parent-mirror-chroot-security:,parent-mirror-binary:,
parent-mirror-binary-security:,parent-mirror-debian-installer:,
mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-binary:,
mirror-binary-security:,mirror-debian-installer:,
archive-areas:,parent-archive-areas:,chroot-filesystem:,
gzip-options:,image-name:,interactive:,keyring-packages:,linux-flavours:,linux-packages:,
security:,updates:,backports:,binary-filesystem:,binary-image:,binary-images:,
apt-indices:,bootappend-install:,bootappend-live:,bootappend-live-failsafe:,bootloader:,bootloaders:,checksums:,compression:,config:,zsync:,build-with-chroot:,
debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:,
grub-splash:,isohybrid-options:,hdd-label:,hdd-size:,hdd-partition-start:,iso-application:,iso-preparer:,iso-publisher:,
iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:,
net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
net-cow-server:,net-tarball:,onie:,onie-kernel-cmdline:,firmware-binary:,firmware-chroot:,swap-file-path:,swap-file-size:,
loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,color,no-color,debug,force,
help,ignore-system-defaults,quiet,usage,validate,verbose,version,bootstrap-qemu-static:,bootstrap-qemu-arch:,
uefi-secure-boot:,
bootstrap-qemu-exclude:"
LONG_OPTIONS="
apt:,apt-ftp-proxy:,apt-http-proxy:,apt-indices:,aptitude-options:,
apt-options:,apt-pipeline:,apt-recommends:,apt-secure:,
apt-source-archives:,architecture:,architectures:,archive-areas:,
backports:,binary-filesystem:,binary-image:,binary-images:,
bootappend-install:,bootappend-live:,bootappend-live-failsafe:,
bootloader:,bootloaders:,bootstrap-qemu-arch:,bootstrap-qemu-exclude:,
bootstrap-qemu-static:,breakpoints,build-with-chroot:,
cache:,cache-indices:,cache-packages:,cache-stages:,checksums:,
chroot-filesystem:,clean,color,compression:,conffile:,config:,
debconf-frontend:,debconf-priority:,debian-installer:,
debian-installer-distribution:,debian-installer-gui:,
debian-installer-preseedfile:,debootstrap-options:,debootstrap-script:,
debug,distribution:,distribution-binary:,distribution-chroot:,dump,
fdisk:,firmware-binary:,firmware-chroot:,force,
grub-splash:,gzip-options:,
hdd-label:,hdd-partition-start:,hdd-size:,help,
ignore-system-defaults,image-name:,initramfs:,initramfs-compression:,
initsystem:,interactive:,iso-application:,isohybrid-options:,
iso-preparer:,iso-publisher:,iso-volume:,
jffs2-eraseblock:,
keyring-packages:,
linux-flavours:,linux-packages:,loadlin:,losetup:,
memtest:,mirror-binary:,mirror-binary-security:,mirror-bootstrap:,
mirror-chroot:,mirror-chroot-security:,mirror-debian-installer:,mode:,
net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
net-cow-server:,net-root-filesystem:,net-root-mountoptions:,
net-root-path:,net-root-server:,net-tarball:,no-color,
onie:,onie-kernel-cmdline:,
parent-archive-areas:,parent-debian-installer-distribution:,
parent-distribution:,parent-distribution-binary:,
parent-distribution-chroot:,parent-mirror-binary:,
parent-mirror-binary-security:,parent-mirror-bootstrap:,
parent-mirror-chroot:,parent-mirror-chroot-security:,
parent-mirror-debian-installer:,
quiet,
security:,source:,source-images:,swap-file-path:,swap-file-size:,system:,
tasksel:,
uefi-secure-boot:,updates:,usage,
validate,verbose,version,
win32-loader:,
zsync:"
# Remove spaces added by indentation
LONG_OPTIONS="$(echo ${LONG_OPTIONS} | tr -d ' ')"