How to get a tool that can only break specific blocks and has a name? [duplicate]

So, right now I'm using this:

/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:[minecraft:stone]}

But I need one that also has the Name value. Anyone know this one?


Try this on for size (tested with latest minecraft version):

give @p diamond_pickaxe 1 0 
{
    CanDestroy:["minecraft:stone","minecraft:stonebrick"],
    display:
    {
        Name:"Veritus' Pickaxe",
        Lore:["It breaks stone and stone bricks."]
    }
}