Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
cli: bump to bodhi 0.5.0 and adapt to "fixed" API
Browse files Browse the repository at this point in the history
  • Loading branch information
decathorpe committed Jan 19, 2020
1 parent 84a6381 commit d638f0d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
19 changes: 10 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "bodhi-cli"
path = "src/main.rs"

[dependencies]
bodhi = "^0.4.0"
bodhi = "^0.5.0"
chrono = "^0.4.10"
dirs = "^2.0.2"
rpassword = "^4.0.3"
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn main() -> Result<(), String> {
};

if let Some(display_name) = display_name {
builder = builder.title(display_name);
builder = builder.display_name(display_name);
};

if let Some(require_bugs) = require_bugs {
Expand Down Expand Up @@ -285,7 +285,7 @@ fn main() -> Result<(), String> {
};

if let Some(display_name) = &display_name {
editor = editor.set_title(display_name);
editor = editor.display_name(display_name);
};

if let Some(notes) = &notes {
Expand Down

0 comments on commit d638f0d

Please sign in to comment.