summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-02-10 21:13:11 +0000
committerGerrit Code Review <review@openstack.org>2012-02-10 21:13:11 +0000
commit754320ec661c628d1a7263dc34fd98d6554e652b (patch)
treee255c5b2267080eee3dff05e85967f47ebf7e50a /bin
parentf6f8d96b2686733800ffcd804a490f44ea707185 (diff)
parentd1888a3359345acffd8d0845c137eefd88072112 (diff)
Merge "Remove the last of the gflags shim layer"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/clear_rabbit_queues2
-rwxr-xr-xbin/nova-direct-api2
-rwxr-xr-xbin/nova-manage2
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/clear_rabbit_queues b/bin/clear_rabbit_queues
index 9d0d803a5..503fa07d8 100755
--- a/bin/clear_rabbit_queues
+++ b/bin/clear_rabbit_queues
@@ -55,7 +55,7 @@ delete_exchange_opt = \
help='delete nova exchange too.')
FLAGS = flags.FLAGS
-FLAGS.add_option(delete_exchange_opt)
+FLAGS.register_cli_opt(delete_exchange_opt)
def delete_exchange(exch):
diff --git a/bin/nova-direct-api b/bin/nova-direct-api
index 6a79ef626..121a0b45c 100755
--- a/bin/nova-direct-api
+++ b/bin/nova-direct-api
@@ -57,7 +57,7 @@ direct_api_opts = [
]
FLAGS = flags.FLAGS
-FLAGS.add_options(direct_api_opts)
+FLAGS.register_cli_opts(direct_api_opts)
# An example of an API that only exposes read-only methods.
diff --git a/bin/nova-manage b/bin/nova-manage
index 6b15dea63..adf2e2530 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -2201,7 +2201,7 @@ class ConfigCommands(object):
pass
def list(self):
- for key, value in FLAGS.FlagValuesDict().iteritems():
+ for key, value in FLAGS.iteritems():
if value is not None:
print '%s = %s' % (key, value)