Skip to content

Commit

Permalink
Actually clear logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlogic committed Mar 31, 2023
1 parent c08bf13 commit 2dd18e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wantslist_cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func main() {
log.Fatalf("Bad num: %v", err)
}
val, err := client.DeleteWantListItem(ctx, &pb.DeleteWantListItemRequest{ListName: os.Args[2], Entry: &pb.WantListEntry{Want: int32(num)}})
log.Printf("%v -> %v", val, err)
fmt.Printf("%v -> %v\n", val, err)
case "sdelete":
_, err := client.DeleteWantList(ctx, &pb.DeleteWantlistRequest{Name: os.Args[2]})
if err != nil {
Expand Down

0 comments on commit 2dd18e5

Please sign in to comment.