add --which command to show what version of ledger is used