Set description from the command line.

JSDurand
Sep 23, 2022, 5:04 PM
NRP4XDSDOURJ34RCHKF3YBWWX6KYRVVTU2ZTPI64DXWLXGCFRD5QC

Dependencies

  • [2] TFPETWTV Add config options for patch message templates
  • [3] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [4] A3RM526Y Integrating identity malleability
  • [*] 4H2XTVJ2 Fix some mistakes in the docs

Change contents

  • edit in pijul/src/commands/record.rs at line 27
    [3.102270]
    [6.651]
    /// Set the description field.
    #[clap(long = "description")]
    pub description: Option<String>,
  • replacement in pijul/src/commands/record.rs at line 243
    [2.950][2.950:1051]()
    let description = if let Some(descr_file) = templates.and_then(|t| t.description.as_ref()) {
    [2.950]
    [2.1051]
    let description = if let Some(description) = &self.description {
    Some(description.clone())
    } else if let Some(descr_file) = templates.and_then(|t| t.description.as_ref()) {