From 8adfe17bdd50d32f19ebadefa7c1f26553590b46 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 9 May 2007 15:05:07 +0000 Subject: Fix bcfg2-info option to use -C (instead of -c) for config file location, corresponding with other tools (and library code) (resolves ticket #438) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3111 ce84e21b-d406-0410-9b95-82705330c041 --- man/bcfg2-info.8 | 4 ++-- src/sbin/bcfg2-info | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/bcfg2-info.8 b/man/bcfg2-info.8 index f500bfa00..2bd20e338 100644 --- a/man/bcfg2-info.8 +++ b/man/bcfg2-info.8 @@ -3,7 +3,7 @@ bcfg2-info \- Creates a local version of the bcfg2 server core for state observation .SH SYNOPSIS -.B bcfg2-info [-c ] +.B bcfg2-info [-C ] .SH DESCRIPTION .PP .B bcfg2-info @@ -11,7 +11,7 @@ Instantiate an instance of the Bcfg2 core for data examination and debugging purposes. .SH OPTIONS .PP -.B "\-c " +.B "\-C " .RS Specify an alternative location for bcfg2.conf. (Default /etc/bcfg2.conf) diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 989139bc5..b8a62cb33 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -179,7 +179,7 @@ if __name__ == '__main__': 'bundles': doBundles, 'clients': doClients, 'generators': doGenerators, 'groups': doGroups, 'help': doHelp, 'mappings': doMappings, 'quit': doQuit, 'showentries': doShowentries, 'update': doUpdate, 'version': doVersion} - if '-c' in sys.argv: + if '-C' in sys.argv: cfile = sys.argv[-1] else: cfile = '/etc/bcfg2.conf' -- cgit v1.2.3-1-g7c22