[jhbuild] Remove --autogen from command help
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Remove --autogen from command help
- Date: Sun, 22 Jul 2012 13:01:50 +0000 (UTC)
commit 748748370c6248e5a597fe353f9a16c1075f2156
Author: Craig Keogh <cskeogh adam com au>
Date: Sun Jul 22 22:28:42 2012 +0930
Remove --autogen from command help
--autogen was removed in 96182ea661cc, remove from command help
jhbuild/commands/autobuild.py | 5 +++--
jhbuild/commands/base.py | 5 +++--
jhbuild/commands/tinderbox.py | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/jhbuild/commands/autobuild.py b/jhbuild/commands/autobuild.py
index c37f91e..d800559 100644
--- a/jhbuild/commands/autobuild.py
+++ b/jhbuild/commands/autobuild.py
@@ -22,6 +22,7 @@ from optparse import make_option
from jhbuild.errors import UsageError
from jhbuild.commands.base import Command, register_command
import jhbuild.frontends
+import optparse
class cmd_autobuild(Command):
doc = N_('Build modules non-interactively and upload results to JhAutobuild')
@@ -31,8 +32,8 @@ class cmd_autobuild(Command):
def __init__(self):
Command.__init__(self, [
make_option('-a', '--autogen',
- action='store_true', dest='autogen', default=False,
- help=_('always run autogen.sh')),
+ action='store_true', dest='_unused', default=False,
+ help=optparse.SUPPRESS_HELP), # no longer used
make_option('-c', '--clean',
action='store_true', dest='clean', default=False,
help=_('run make clean before make')),
diff --git a/jhbuild/commands/base.py b/jhbuild/commands/base.py
index c329dbe..8f05ce6 100644
--- a/jhbuild/commands/base.py
+++ b/jhbuild/commands/base.py
@@ -18,6 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
+import optparse
import re
import stat
import sys
@@ -161,7 +162,7 @@ class cmd_build(BuildCommand):
Command.__init__(self, [
make_option('-a', '--autogen',
action='store_true', dest='_unused', default=False,
- help=_('This option does nothing anymore')),
+ help=optparse.SUPPRESS_HELP), # no longer used
make_option('-c', '--clean',
action='store_true', dest='clean', default=False,
help=_('run make clean before make')),
@@ -269,7 +270,7 @@ class cmd_buildone(BuildCommand):
Command.__init__(self, [
make_option('-a', '--autogen',
action='store_true', dest='_unused', default=False,
- help=_('This option does nothing anymore')),
+ help=optparse.SUPPRESS_HELP), # no longer used
make_option('-c', '--clean',
action='store_true', dest='clean', default=False,
help=_('run make clean before make')),
diff --git a/jhbuild/commands/tinderbox.py b/jhbuild/commands/tinderbox.py
index 8ef371d..0015b38 100644
--- a/jhbuild/commands/tinderbox.py
+++ b/jhbuild/commands/tinderbox.py
@@ -22,6 +22,7 @@ from optparse import make_option
from jhbuild.errors import UsageError, FatalError
from jhbuild.commands import Command, BuildCommand, register_command
import jhbuild.frontends
+import optparse
class cmd_tinderbox(BuildCommand):
@@ -33,8 +34,8 @@ class cmd_tinderbox(BuildCommand):
def __init__(self):
Command.__init__(self, [
make_option('-a', '--autogen',
- action='store_true', dest='autogen', default=False,
- help=_('always run autogen.sh')),
+ action='store_true', dest='_unused', default=False,
+ help=optparse.SUPPRESS_HELP), # no longer used
make_option('-c', '--clean',
action='store_true', dest='clean', default=False,
help=_('run make clean before make')),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]