remi / teamocil

There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.
MIT License
2.36k stars 101 forks source link

Show help if no layout specified #61

Closed vitalk closed 10 years ago

vitalk commented 10 years ago

teamocil shows error trying to find layout file even if its not set:

$ teamocil
[teamocil] There is no file "/Users/vital/.teamocil/.yml"

I suppose the better is to show usage help (as teamocil --help does) if no arguments passed to program:

$ teamocil
Usage: teamocil [options] <layout>
...
vitalk commented 10 years ago

Already done in 264c272.