diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-03-10 15:01:24 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-03-10 15:01:24 (GMT) |
commit | 499ee7848b1c9fa18cef04b06fbb2f66104cdccb (patch) | |
tree | 6b37e81126c1808d56e5e146f19ddaecf0945c65 /sjhbuild | |
parent | fe7bdfbf76296a08a877430daac33d1c7ad2f8b7 (diff) |
Fix --help-commands #513
Diffstat (limited to 'sjhbuild')
-rw-r--r-- | sjhbuild/depscheck.py | 1 | ||||
-rw-r--r-- | sjhbuild/main.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sjhbuild/depscheck.py b/sjhbuild/depscheck.py index f318404..f55f19e 100644 --- a/sjhbuild/depscheck.py +++ b/sjhbuild/depscheck.py @@ -8,6 +8,7 @@ import sysdeps class cmd_depscheck(Command): name = 'depscheck' + doc = 'Check that all system dependencies are installed' usage_args = '' def __init__(self): diff --git a/sjhbuild/main.py b/sjhbuild/main.py index 3fa1bb1..d758834 100644 --- a/sjhbuild/main.py +++ b/sjhbuild/main.py @@ -74,6 +74,8 @@ __builtin__.__dict__['uencode'] = uencode def help_commands(option, opt_str, value, parser): thisdir = os.path.abspath(os.path.dirname(__file__)) + thisdir = os.path.split(thisdir)[0] + thisdir = os.path.join(thisdir, 'jhbuild', 'jhbuild') # import all available commands for fname in os.listdir(os.path.join(thisdir, 'commands')): |