fixed 'list' command showing group titles instead of session titles
This commit is contained in:
parent
b81737c182
commit
e7ead09ad9
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ pub fn list() {
|
||||||
// pretty print session list
|
// pretty print session list
|
||||||
println!("sessions:");
|
println!("sessions:");
|
||||||
for session in sessions.into_iter() {
|
for session in sessions.into_iter() {
|
||||||
let group = session.group.unwrap_or("[untitled]".to_string());
|
let group = session.name.unwrap_or("[untitled]".to_string());
|
||||||
let id = session.id.unwrap();
|
let id = session.id.unwrap();
|
||||||
let attached = session.attached.unwrap_or(0) > 0;
|
let attached = session.attached.unwrap_or(0) > 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue