Skip to content

Commit

Permalink
issue_ui: add help if user messes up delete issue entry
Browse files Browse the repository at this point in the history
  • Loading branch information
psyomn committed Aug 13, 2015
1 parent 4b8299f commit 8081911
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wlog/ui/issue_ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def delete_entry(cmd_a)
case cmd_a[0]
when /t/, /task/ then LogEntry.delete(cmd_a[1])
when /a/, /attachment/ then Attachment.delete(cmd_a[1])
else puts "Usage:\n delete <(t|task)|(a|attachment)> <id>"
end
# If something gets deleted, we need to reload the issue so that the
# relations are ok.
Expand Down

0 comments on commit 8081911

Please sign in to comment.