Skip to content

Commit

Permalink
fix: doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Feb 11, 2025
1 parent eec065b commit eacaf95
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pueue/src/client/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ pub enum SubCommand {
#[arg(short, long)]
all: bool,

/// Pause the specified group[s], but let already running tasks finish by themselves.
/// Pause the specified groups, but let already running tasks finish by themselves.
#[arg(short, long)]
wait: bool,
},
Expand Down
3 changes: 1 addition & 2 deletions pueue/src/client/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ fn handle_response(style: &OutputStyle, response: Response) -> Result<()> {
/// Handle any command.
///
/// This is the core entry point of the pueue client.
/// Based on the subcommand, the respective function in the [`super::commands`] module is
/// called.
/// Based on the subcommand, the respective function in the `commands` submodule is called.
pub async fn handle_command(client: &mut Client, subcommand: SubCommand) -> Result<()> {
trace!(message = "Handling command", subcommand = ?subcommand);

Expand Down
2 changes: 1 addition & 1 deletion pueue_lib/src/network/message/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub enum Response {
Status(Box<State>),

/// The log returned from the daemon for a bunch of [`Task`]s
/// This is the response to [`Request::Log`]
/// This is the response to [`super::Request::Log`]
Log(BTreeMap<usize, TaskLogMessage>),

Group(GroupResponseMessage),
Expand Down
4 changes: 2 additions & 2 deletions pueue_lib/src/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
/// Used by the daemon to initialize the TLS certificates.
pub mod certificate;
/// This contains the main [Message](message::Message) enum and all its structs used to
/// communicate with the daemon or client.
/// This contains the the [`Request`](crate::Request) and [`Response`](crate::Response) enums and
/// all their structs used to communicate with the daemon or client.
pub mod message;
/// This is probably the most interesting part for you.
pub mod protocol;
Expand Down

0 comments on commit eacaf95

Please sign in to comment.