Commits

Robert Lehmann committed fec8ebb

Clarify source directory error.

  • Participants
  • Parent commits 46bdc37

Comments (0)

Files changed (1)

sphinx/cmdline.py

         allopts = set(opt[0] for opt in opts)
         srcdir = confdir = path.abspath(args[0])
         if not path.isdir(srcdir):
-            print >>sys.stderr, 'Error: Cannot find source directory.'
+            print >>sys.stderr, 'Error: Cannot find source directory `%s'.' % (
+                                srcdir,)
             return 1
         if not path.isfile(path.join(srcdir, 'conf.py')) and \
                '-c' not in allopts and '-C' not in allopts: