update for cmdline use
Merge branch 'master' of github.com:z7z8th/misc