Better clap attributes

[?]
Dec 1, 2020, 2:28 AM
FMKKWCFVK5CPPP55T4VMCHSFPZ47EBK6V7D4MJ5BH55TP4UBOZXAC

Dependencies

  • [2] I52XSRUH Massive cleanup, and simplification
  • [3] UTDZKZGP infer subcommands
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [5] Q4SVMHAE Removing --channel from the changes command
  • [6] L4JXJHWX pijul/*: reorganize imports and remove extern crate

Change contents

  • replacement in pijul/src/main.rs at line 10
    [4.603][4.603:664]()
    use clap::{crate_authors, crate_version, AppSettings, Clap};
    [4.603]
    [4.664]
    use clap::{AppSettings, Clap};
  • replacement in pijul/src/main.rs at line 22
    [3.8][3.8:154]()
    version = crate_version!(),
    author = crate_authors!(),
    setting(AppSettings::ColoredHelp),
    setting(AppSettings::InferSubcommands),
    [3.8]
    [3.154]
    version,
    author,
    global_setting(AppSettings::ColoredHelp),
    setting(AppSettings::InferSubcommands)
  • replacement in pijul/src/commands/channel.rs at line 5
    [2.6264][4.0:31](),[4.187014][4.0:31]()
    use clap::{AppSettings, Clap};
    [2.6264]
    [2.6265]
    use clap::Clap;
  • edit in pijul/src/commands/channel.rs at line 9
    [4.187037][4.32:75]()
    #[clap(setting(AppSettings::ColoredHelp))]