equal
deleted
inserted
replaced
330 account, err := gClient.GetCurrentAccount() |
330 account, err := gClient.GetCurrentAccount() |
331 if err != nil { |
331 if err != nil { |
332 return err |
332 return err |
333 } |
333 } |
334 opt.accountID = account.ID |
334 opt.accountID = account.ID |
|
335 if verbose { |
|
336 errPrint("User account ID: %d", opt.accountID) |
|
337 } |
335 } |
338 } |
336 default: |
339 default: |
337 // The other subcommands here require an account ID |
340 // The other subcommands here require an account ID |
338 if opt.accountID < 1 { |
341 if opt.accountID < 1 { |
339 return errors.New("missing account ID") |
342 return errors.New("missing account ID") |