[Yt-svn] commit/yt: MatthewTurk: Simply adding a few cmd_usage options to docstrings that are missing them.
Bitbucket
commits-noreply at bitbucket.org
Tue Jun 7 20:27:23 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/6ff8c8af6ced/
changeset: 6ff8c8af6ced
branch: yt
user: MatthewTurk
date: 2011-06-08 05:24:55
summary: Simply adding a few cmd_usage options to docstrings that are missing them.
affected #: 1 file (150 bytes)
--- a/yt/utilities/command_line.py Tue Jun 07 22:19:34 2011 -0400
+++ b/yt/utilities/command_line.py Tue Jun 07 20:24:55 2011 -0700
@@ -686,6 +686,9 @@
def do_pasteboard_grab(self, subcmd, opts, username, paste_id):
"""
Download from your or another user's pasteboard.
+
+ ${cmd_usage}
+ ${cmd_option_list}
"""
from yt.utilities.pasteboard import retrieve_pastefile
retrieve_pastefile(username, paste_id, opts.output_fn)
@@ -693,6 +696,9 @@
def do_bugreport(self, subcmd, opts):
"""
Report a bug in yt
+
+ ${cmd_usage}
+ ${cmd_option_list}
"""
print "==============================================================="
print
@@ -803,6 +809,9 @@
def do_bootstrap_dev(self, subcmd, opts):
"""
Bootstrap a yt development environment
+
+ ${cmd_usage}
+ ${cmd_option_list}
"""
from mercurial import hg, ui, commands
import imp
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list