]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Show commands in alphabetical order
authorMichael Brown <mcb30@ipxe.org>
Wed, 6 Aug 2025 15:29:32 +0000 (16:29 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 6 Aug 2025 15:34:45 +0000 (16:34 +0100)
commit9d4a2ee3538f28a21a77c55c272c84b4e346dd92
tree07e34d6baf1c66bb85b0d5acf24ba57e483bc53b
parent332241238e3f1a2b519a1c8ea41fb52dbe0232f8
[cmdline] Show commands in alphabetical order

Commands were originally ordered by functional group (e.g. keeping the
image management commands together), with arrays used to impose a
functionally meaningful order within the group.

As the number of commands and functional groups has expanded over the
years, this has become essentially useless as an organising principle.
Switch to sorting commands alphabetically (using the linker table
mechanism).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
49 files changed:
src/arch/x86/hci/commands/cpuid_cmd.c
src/arch/x86/hci/commands/pxe_cmd.c
src/core/exec.c
src/crypto/mishmash/cmd_md4.c
src/crypto/mishmash/cmd_sha224.c
src/crypto/mishmash/cmd_sha256.c
src/crypto/mishmash/cmd_sha384.c
src/crypto/mishmash/cmd_sha512.c
src/hci/commands/autoboot_cmd.c
src/hci/commands/cert_cmd.c
src/hci/commands/config_cmd.c
src/hci/commands/console_cmd.c
src/hci/commands/dhcp_cmd.c
src/hci/commands/digest_cmd.c
src/hci/commands/dynui_cmd.c
src/hci/commands/fcmgmt_cmd.c
src/hci/commands/fdt_cmd.c
src/hci/commands/gdbstub_cmd.c
src/hci/commands/ibmgmt_cmd.c
src/hci/commands/ifmgmt_cmd.c
src/hci/commands/image_archive_cmd.c
src/hci/commands/image_cmd.c
src/hci/commands/image_crypt_cmd.c
src/hci/commands/image_mem_cmd.c
src/hci/commands/image_trust_cmd.c
src/hci/commands/ipstat_cmd.c
src/hci/commands/iwmgmt_cmd.c
src/hci/commands/login_cmd.c
src/hci/commands/lotest_cmd.c
src/hci/commands/neighbour_cmd.c
src/hci/commands/nslookup_cmd.c
src/hci/commands/ntp_cmd.c
src/hci/commands/nvo_cmd.c
src/hci/commands/param_cmd.c
src/hci/commands/pci_cmd.c
src/hci/commands/ping_cmd.c
src/hci/commands/poweroff_cmd.c
src/hci/commands/profstat_cmd.c
src/hci/commands/reboot_cmd.c
src/hci/commands/route_cmd.c
src/hci/commands/sanboot_cmd.c
src/hci/commands/shim_cmd.c
src/hci/commands/sync_cmd.c
src/hci/commands/time_cmd.c
src/hci/commands/usb_cmd.c
src/hci/commands/vlan_cmd.c
src/hci/shell.c
src/image/script.c
src/include/ipxe/command.h