Skip to content

Commit

Permalink
Make proposal URL mandatory. User can still specify empty URL if he r…
Browse files Browse the repository at this point in the history
…eally does not want one.
  • Loading branch information
DFINITYManu committed Jan 28, 2025
1 parent fa6fe15 commit d0c0b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/cli/src/commands/governance/propose/motion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ struct MotionParameters {
#[arg(long, help_heading = "Command parameters", conflicts_with = "motion_text_file")]
pub motion_text: Option<String>,

/// URL typically used to discuss the proposal; defaults to the DFINITY forum governance topic list if unspecified
#[arg(long, help_heading = "Command parameters", default_value = "https://forum.dfinity.org/c/governance/27")]
/// URL typically used to discuss the proposal; proposals risk being rejected without a valid venue to discuss them
#[arg(long, help_heading = "Command parameters")]
pub proposal_url: url::Url,
}

Expand Down

0 comments on commit d0c0b9a

Please sign in to comment.