Re-order items in argument view

finchie
Nov 25, 2023, 10:24 AM
HM5WWHDRQ7BK4P2MQYLZIOJDYH4VYWNOUFJJ62RTEQXBUWCI4DAAC

Dependencies

  • [2] 6FCEG2XL Refactor argument documentation into generic function
  • [3] MIY7QPYK Refactor argument handling into a separate file
  • [4] YBAXVS44 Fix handling of argument aliases
  • [5] LEJN3E4Q Generate more semantic HTML
  • [6] NSWIJUHG Add support for subcommands

Change contents

  • edit in src/arg.rs at line 185
    [3.3951][3.3951:4018](),[3.4038][3.4038:4067](),[3.758][3.758:780]()
    // The argument's type info
    type_description(arg),
    // Alternate sources
    aliases(arg),
  • replacement in src/arg.rs at line 187
    [3.809][3.4456:4512](),[2.2625][3.4456:4512](),[3.4456][3.4456:4512](),[3.4512][3.1040:1074]()
    // Source location (defaults, command line etc)
    source(arg_matches, arg),
    [2.2625]
    [3.4540]
    // The argument's type info
    type_description(arg),
  • edit in src/arg.rs at line 191
    [3.4646]
    [3.4646]
    // Source location (defaults, command line etc)
    source(arg_matches, arg),
  • edit in src/arg.rs at line 195
    [3.1117]
    [3.4708]
    // Alternate sources
    aliases(arg),