cylc/cylc — pull request #483 by trwhitcomb (2013-05-21 22:37:42+00:00)
Title: Allow filename argument for cylc graph.

If no filename or suite name is specified for the cylc graph command,
it will unelegantly exit with an index error when it reads the argument
list. Also, if you use the `-f` option to supply a filename, the parser
will attempt to read the arguments which are blank (and if you supply
anything it will fail validation later). This means that you cannot
currently supply a filename argument to cylc graph.

This update tolerates an empty suite name if a filename is specified.
If a filename is not specified (and therefore a suite name would be
required) we now exit gracefully printing a usage message rather than
a Python error/traceback.