mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-18 18:39:45 -07:00
better document the effect of arg_modifiers order
This commit is contained in:
committed by
Will Greenberg
parent
3b3532d3fd
commit
9280067e31
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user