1. Bryan Murdock
  2. albion
  3. Issues
Issue #6 resolved

help out put goes to stderr, that's just weird

Bryan Murdock
repo owner created an issue

All output to stdout of albion.py is evaled, which doesn't make sense for strings that the user reads, so as an easy workaround, that sort of output is all sent to stderr. To fix this, you could replace this in albion.py:



print >>sys.stderr "usage..." }}}

with this:



print 'echo "usage..."' }}}

but it's a lot harder to get the formatting how you like with echo. It turns out that printf is POSIX (http://pubs.opengroup.org/onlinepubs/009695399/utilities/printf.html), so maybe that would make it easier to have nicely formatted output.

Comments (1)

  1. Log in to comment