summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-05-09 15:05:07 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-05-09 15:05:07 +0000
commit8adfe17bdd50d32f19ebadefa7c1f26553590b46 (patch)
treeed42d7e05d28a6b990e9dacbe5619499992dea60 /src/sbin
parentdb97e7cbfa898cf58e6e67def6e4921b114004e0 (diff)
downloadbcfg2-8adfe17bdd50d32f19ebadefa7c1f26553590b46.tar.gz
bcfg2-8adfe17bdd50d32f19ebadefa7c1f26553590b46.tar.bz2
bcfg2-8adfe17bdd50d32f19ebadefa7c1f26553590b46.zip
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
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-info2
1 files changed, 1 insertions, 1 deletions
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'