better document the effect of arg_modifiers order

This commit is contained in:
Brad Warren
2026-06-16 11:04:36 -07:00
committed by Will Greenberg
parent 3b3532d3fd
commit 9280067e31
+2 -1
View File
@@ -34,7 +34,8 @@ pub struct SubcommandModifier<'a> {
/// Provides "modifiers" or additional metadata about each subcommand.
///
/// The order of the subcommands in the returned vector is the same order that subcommands will be
/// shown in the GUI.
/// shown in the GUI. Similarly, the order of the elements in each arg_modifiers field controls the
/// order that a subcommand's options will be shown in the GUI.
pub fn subcommand_modifiers() -> Vec<SubcommandModifier<'static>> {
let admin_ip = ArgumentModifier {
clap_id: "admin_ip",