Skip to content

Commit

Permalink
Added 'remove' as a synonym for 'delete', along with 'rm' and 'del' a…
Browse files Browse the repository at this point in the history
…bbrevs.

Signed-off-by: Bodaniel Jeanes <me@bjeanes.com>
  • Loading branch information
benhoskings authored and bjeanes committed May 2, 2009
1 parent b5b75af commit 99661ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ghost
Expand Up @@ -51,7 +51,7 @@ else
$stderr.puts "The modify subcommand requires a hostname and an IP.\n\n"
help_text 4
end
when 'delete':
when 'delete', 'del', 'remove', 'rm':
if ARGV.size == 2
Host.delete(ARGV[1])
puts " [Deleting] #{ARGV[1]}"
Expand Down

0 comments on commit 99661ea

Please sign in to comment.