Skip to content

Commit

Permalink
change: rename --immediate flag on restart
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Feb 27, 2025
1 parent b6d8f46 commit 958194a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Upon updating Pueue and restarting the daemon, the previous state will be wiped,
Pueue now allows editing all properties a task in one editor session. There're two modes to do so: `toml` and `files`, which is configurable via the `client.edit_mode` settings field.
- Revisited, fixed and cleaned up CLI help texts.
- Print most of Pueue's info/log messages to `stderr`. Only keep useful stuff like json and task log output on `stdout`.
- **Breaking**: Allow `--immediate` flag instead of `--start--immediately` on `pueue restart` for consistency with `pueue add`.
- **Breaking**: Ported from `anyhow` to `color_eyre` for prettier log output.
- **Breaking**: Switch `cbor` handling library, breaking backwards-compatible communication on a data format level.
- **Breaking**: Switch protocol message representation, completely breaking backwards compatibility.
Expand Down
2 changes: 1 addition & 1 deletion pueue/src/client/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ pub enum SubCommand {

/// Immediately start the tasks, no matter how many open slots there are.
/// This will ignore any dependencies tasks may have.
#[arg(short = 'k', long, conflicts_with = "stashed")]
#[arg(short = 'k', long = "immediate", conflicts_with = "stashed")]
start_immediately: bool,

/// Set the restarted task to a "Stashed" state.
Expand Down

0 comments on commit 958194a

Please sign in to comment.