Skip to content

Commit

Permalink
fix: garbled command flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Blooym committed Nov 15, 2024
1 parent 12f69da commit cd688f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/commands/start.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use super::{ExecutableCommand, GlobalArguments};
use crate::bsky::{BlueskyHandler, PostData, PostEmbed};
use crate::database::Database;
use crate::rss::RssHandler;
Expand All @@ -11,8 +12,6 @@ use std::sync::Arc;
use std::{primitive, time::Duration};
use tokio::time::sleep;

use super::{ExecutableCommand, GlobalArguments};

/// Start the bot and begin checking for new RSS posts on an interval.
#[derive(Debug, Clone, Parser)]
pub struct StartCommand {
Expand Down Expand Up @@ -64,7 +63,7 @@ pub struct StartCommand {
/// Whether Bluesky posts should have comments disabled.
#[clap(
default_value_t = true,
long = "disable-post-comm to images.ents",
long = "disable-post-comments",
env = "DISABLE_POST_COMMENTS"
)]
disable_post_comments: primitive::bool,
Expand Down

0 comments on commit cd688f6

Please sign in to comment.