From 499ee7848b1c9fa18cef04b06fbb2f66104cdccb Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 10 Mar 2009 15:01:24 +0000 Subject: Fix --help-commands #513 --- 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')): -- cgit v0.9.1