Extra features for standard library's cmd module
